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

Unified Diff: skia/ext/bitmap_platform_device_win.h

Issue 21192: Add support for the "repaint" layout tests (LayoutTests/fast/repaint/*), whic... (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 | « no previous file | skia/ext/bitmap_platform_device_win.cc » ('j') | webkit/tools/test_shell/webwidget_host.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/bitmap_platform_device_win.h
===================================================================
--- skia/ext/bitmap_platform_device_win.h (revision 9433)
+++ skia/ext/bitmap_platform_device_win.h (working copy)
@@ -67,6 +67,11 @@
virtual void fixupAlphaBeforeCompositing();
virtual bool IsVectorial() { return false; }
+ // Replaces occurrences of kMagicTransparencyColor with black. See
+ // fixupAlphaBeforeCompositing()'s documentation in platform_device_win.h for
+ // an explanation of why this is needed.
+ static void fixupAlpha(SkBitmap& bitmap);
+
// Returns the color value at the specified location. This does not
// consider any transforms that may be set on the device.
SkColor getColorAt(int x, int y);
« no previous file with comments | « no previous file | skia/ext/bitmap_platform_device_win.cc » ('j') | webkit/tools/test_shell/webwidget_host.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698