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

Unified Diff: chrome/browser/ui/views/tabs/native_view_photobooth_win.cc

Issue 7019013: Removal of dependencies on PlatformDevice classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Addressing comments. Created 9 years, 7 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
Index: chrome/browser/ui/views/tabs/native_view_photobooth_win.cc
===================================================================
--- chrome/browser/ui/views/tabs/native_view_photobooth_win.cc (revision 85672)
+++ chrome/browser/ui/views/tabs/native_view_photobooth_win.cc (working copy)
@@ -110,7 +110,8 @@
SRCCOPY);
// Windows screws up the alpha channel on all text it draws, and so we need
// to call makeOpaque _after_ the blit to correct for this.
- canvas->AsCanvasSkia()->getTopPlatformDevice().makeOpaque(
+ skia::MakeOpaque(
+ &canvas->AsCanvasSkia()->getTopDevice(),
alokp 2011/05/19 18:15:15 could skia::MakeOpaque take canvas argument instea
Jeff Timanus 2011/05/19 20:38:29 Done.
target_bounds.x(), target_bounds.y(), target_bounds.width(),
target_bounds.height());
ReleaseDC(current_hwnd_, source_dc);

Powered by Google App Engine
This is Rietveld 408576698