mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 1175286. Remove unnecessary CGContextSave/Restore pair from ClearRect.
--HG-- extra : rebase_source : a4bbc99cbab0d7afacc9056eafd541c5f17c48da
This commit is contained in:
parent
fefbd0cfd7
commit
e78c6f3884
@ -1315,11 +1315,7 @@ DrawTargetCG::ClearRect(const Rect &aRect)
|
||||
|
||||
MarkChanged();
|
||||
|
||||
CGContextSaveGState(mCg);
|
||||
|
||||
CGContextClearRect(mCg, RectToCGRect(aRect));
|
||||
|
||||
CGContextRestoreGState(mCg);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user