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 |