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

Unified Diff: skia/ext/analysis_canvas_unittest.cc

Issue 214603005: Remove explicit Skia save flags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/skia_benchmarking_extension_unittest.cc ('k') | ui/gfx/canvas_skia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/analysis_canvas_unittest.cc
diff --git a/skia/ext/analysis_canvas_unittest.cc b/skia/ext/analysis_canvas_unittest.cc
index bc7405354a250767de8d7164eac3d80ed2c7bdd2..2b668c56886bc4efb37df90493410fc935df11a3 100644
--- a/skia/ext/analysis_canvas_unittest.cc
+++ b/skia/ext/analysis_canvas_unittest.cc
@@ -235,7 +235,7 @@ TEST(AnalysisCanvasTest, SaveLayerRestore) {
paint.setXfermodeMode(SkXfermode::kSrcOver_Mode);
// This should force non-transparency
- canvas.saveLayer(&bounds, &paint, SkCanvas::kMatrix_SaveFlag);
+ canvas.saveLayer(&bounds, &paint);
EXPECT_TRUE(canvas.GetColorIfSolid(&outputColor));
EXPECT_NE(static_cast<SkColor>(SK_ColorTRANSPARENT), outputColor);
@@ -249,7 +249,7 @@ TEST(AnalysisCanvasTest, SaveLayerRestore) {
paint.setXfermodeMode(SkXfermode::kDst_Mode);
// This should force non-solid color
- canvas.saveLayer(&bounds, &paint, SkCanvas::kMatrix_SaveFlag);
+ canvas.saveLayer(&bounds, &paint);
EXPECT_FALSE(canvas.GetColorIfSolid(&outputColor));
TransparentFill(canvas);
« no previous file with comments | « content/renderer/skia_benchmarking_extension_unittest.cc ('k') | ui/gfx/canvas_skia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698