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

Unified Diff: skia/ext/platform_canvas_unittest.cc

Issue 21201: Transparency (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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/bitmap_platform_device_win.cc ('k') | skia/ext/platform_device_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/platform_canvas_unittest.cc
===================================================================
--- skia/ext/platform_canvas_unittest.cc (revision 10202)
+++ skia/ext/platform_canvas_unittest.cc (working copy)
@@ -116,9 +116,6 @@
}
~LayerSaver() {
-#if defined(OS_WIN)
- canvas_.getTopPlatformDevice().fixupAlphaBeforeCompositing();
-#endif
canvas_.restore();
}
@@ -177,9 +174,6 @@
// with a black rectangle.
// Note: Don't use LayerSaver, since internally it sets a clip region.
DrawNativeRect(canvas, 0, 0, 16, 16);
-#if defined(OS_WIN)
- canvas.getTopPlatformDevice().fixupAlphaBeforeCompositing();
-#endif
EXPECT_TRUE(VerifyCanvasColor(canvas, SK_ColorBLACK));
// Test that intersecting disjoint clip rectangles sets an empty clip region
« no previous file with comments | « skia/ext/bitmap_platform_device_win.cc ('k') | skia/ext/platform_device_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698