Bug 797612 - Remove PathCG::mFigureActive; r=jrmuizel

--HG--
extra : rebase_source : 4ce5161c5ffee297ab55ad7a980dbb74f0051ded
This commit is contained in:
Ehsan Akhgari 2012-10-03 19:43:03 -04:00
Родитель d50f70ee25
Коммит 1ea624276c
1 изменённых файлов: 2 добавлений и 5 удалений

Просмотреть файл

@ -19,15 +19,13 @@ class PathBuilderCG : public PathBuilder
public:
// absorbs a reference of aPath
PathBuilderCG(CGMutablePathRef aPath, FillRule aFillRule)
: mFigureActive(false)
, mFillRule(aFillRule)
: mFillRule(aFillRule)
{
mCGPath = aPath;
}
PathBuilderCG(FillRule aFillRule)
: mFigureActive(false)
, mFillRule(aFillRule)
: mFillRule(aFillRule)
{
mCGPath = CGPathCreateMutable();
}
@ -54,7 +52,6 @@ private:
void EnsureActive(const Point &aPoint);
CGMutablePathRef mCGPath;
bool mFigureActive;
Point mCurrentPoint;
Point mBeginPoint;
FillRule mFillRule;