Bug 1175286. Remove unnecessary CGContextSave/Restore pair from ClearRect.

--HG--
extra : rebase_source : a4bbc99cbab0d7afacc9056eafd541c5f17c48da
This commit is contained in:
Jeff Muizelaar 2015-06-16 17:11:42 -04:00
parent fefbd0cfd7
commit e78c6f3884

View File

@ -1315,11 +1315,7 @@ DrawTargetCG::ClearRect(const Rect &aRect)
MarkChanged();
CGContextSaveGState(mCg);
CGContextClearRect(mCg, RectToCGRect(aRect));
CGContextRestoreGState(mCg);
}
void