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

Unified Diff: chrome/browser/views/theme_helpers.cc

Issue 14110: Move the "platform" wrappers in skia/ext to the skia namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years 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 | « chrome/browser/printing/win_printing_context.cc ('k') | chrome/common/gfx/chrome_canvas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/theme_helpers.cc
===================================================================
--- chrome/browser/views/theme_helpers.cc (revision 6968)
+++ chrome/browser/views/theme_helpers.cc (working copy)
@@ -62,8 +62,8 @@
// Extract the color values from the selected pixels
// The | in the following operations forces the alpha to 0xFF. This is
// needed as windows sets the alpha to 0 when it renders.
- gfx::BitmapPlatformDeviceWin& device =
- static_cast<gfx::BitmapPlatformDeviceWin&>(canvas.getTopPlatformDevice());
+ skia::BitmapPlatformDeviceWin& device =
+ static_cast<skia::BitmapPlatformDeviceWin&>(canvas.getTopPlatformDevice());
*c1 = 0xFF000000 | device.getColorAt(x1, 0);
*c2 = 0xFF000000 | device.getColorAt(x2, 0);
}
« no previous file with comments | « chrome/browser/printing/win_printing_context.cc ('k') | chrome/common/gfx/chrome_canvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698