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

Unified Diff: skia/ext/analysis_canvas_unittest.cc

Issue 16667017: Revert 198272 "cc: Move canvas clear from picture to picture_pil..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1500/src/
Patch Set: Created 7 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 | « skia/ext/analysis_canvas.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/analysis_canvas_unittest.cc
===================================================================
--- skia/ext/analysis_canvas_unittest.cc (revision 205297)
+++ skia/ext/analysis_canvas_unittest.cc (working copy)
@@ -179,17 +179,9 @@
EXPECT_NE(static_cast<SkColor>(SK_ColorTRANSPARENT), outputColor);
EXPECT_EQ(color, outputColor);
- // Paint with the same color, tile should remain solid.
canvas.rotate(50);
canvas.drawRect(SkRect::MakeWH(255, 255), paint);
- EXPECT_TRUE(canvas.getColorIfSolid(&outputColor));
- EXPECT_EQ(color, outputColor);
-
- color = SkColorSetARGB(255, 12, 23, 34);
- paint.setColor(color);
- paint.setXfermodeMode(SkXfermode::kSrcOver_Mode);
- canvas.drawRect(SkRect::MakeWH(255, 255), paint);
EXPECT_FALSE(canvas.getColorIfSolid(&outputColor));
}
« no previous file with comments | « skia/ext/analysis_canvas.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698