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

Unified Diff: content/renderer/skia_benchmarking_extension_unittest.cc

Issue 771563003: use SkClipOps where we can, legacyClip where we need to rework Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « content/renderer/pepper/pepper_graphics_2d_host.cc ('k') | skia/ext/vector_canvas_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/skia_benchmarking_extension_unittest.cc
diff --git a/content/renderer/skia_benchmarking_extension_unittest.cc b/content/renderer/skia_benchmarking_extension_unittest.cc
index 1c1bf9a9c0c3bb6141207f28d97dec7679fffeda..c18c40065847b30a083c2a0d481a5a824ca99de8 100644
--- a/content/renderer/skia_benchmarking_extension_unittest.cc
+++ b/content/renderer/skia_benchmarking_extension_unittest.cc
@@ -51,7 +51,7 @@ TEST(SkiaBenchmarkingExtensionTest, SkDebugCanvas) {
// Draw a trivial scene.
canvas.save();
- canvas.clipRect(fullRect, SkRegion::kIntersect_Op, false);
+ canvas.clipRect(fullRect);
canvas.translate(SkIntToScalar(10), SkIntToScalar(10));
canvas.scale(SkIntToScalar(2), SkIntToScalar(2));
canvas.drawRect(fillRect, red_paint);
« no previous file with comments | « content/renderer/pepper/pepper_graphics_2d_host.cc ('k') | skia/ext/vector_canvas_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698