Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3338)

Unified Diff: skia/ext/pixel_ref_utils_unittest.cc

Issue 322123002: Remove use of kUsePathBoundsForClip_RecordingFlag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/resources/picture_pile_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/pixel_ref_utils_unittest.cc
diff --git a/skia/ext/pixel_ref_utils_unittest.cc b/skia/ext/pixel_ref_utils_unittest.cc
index 1701ec7f3de30ef5ed0dccdbd55f922e9a016503..1a0ff96ee0644e88b1a91f1da48b67538d7e7496 100644
--- a/skia/ext/pixel_ref_utils_unittest.cc
+++ b/skia/ext/pixel_ref_utils_unittest.cc
@@ -73,11 +73,8 @@ void CreateBitmap(gfx::Size size, const char* uri, SkBitmap* bitmap) {
}
SkCanvas* StartRecording(SkPictureRecorder* recorder, gfx::Rect layer_rect) {
- SkCanvas* canvas = recorder->beginRecording(
- layer_rect.width(),
- layer_rect.height(),
- NULL,
- SkPicture::kUsePathBoundsForClip_RecordingFlag);
+ SkCanvas* canvas =
+ recorder->beginRecording(layer_rect.width(), layer_rect.height());
canvas->save();
canvas->translate(-layer_rect.x(), -layer_rect.y());
« no previous file with comments | « cc/resources/picture_pile_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698