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

Unified Diff: ui/native_theme/native_theme_win.cc

Issue 2400873002: keep only one typedef for the native drawing context (Closed)
Patch Set: native_drawing_context.h Created 4 years, 2 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 | « ui/gfx/native_widget_types.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme_win.cc
diff --git a/ui/native_theme/native_theme_win.cc b/ui/native_theme/native_theme_win.cc
index eb03ae51ad6f3595fbddc584441a787b4965da73..46c5b5db8cc1aa9fd978d392abfda84e46c23ed4 100644
--- a/ui/native_theme/native_theme_win.cc
+++ b/ui/native_theme/native_theme_win.cc
@@ -293,7 +293,7 @@ void NativeThemeWin::Paint(SkCanvas* canvas,
}
skia::ScopedPlatformPaint paint(canvas);
- HDC surface = paint.GetPlatformSurface();
+ HDC surface = paint.GetNativeDrawingContext();
// When drawing the task manager or the bookmark editor, we draw into an
// offscreen buffer, where we can use OS-specific drawing routines for
« no previous file with comments | « ui/gfx/native_widget_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698