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 e811036b3a34af0cf0a457ddb396159a29ea4886..46108aad1e5b86da7cdd1abf5949e10d4d7a477c 100644 |
--- a/ui/native_theme/native_theme_win.cc |
+++ b/ui/native_theme/native_theme_win.cc |
@@ -278,8 +278,7 @@ void NativeThemeWin::Paint(SkCanvas* canvas, |
break; |
} |
- skia::ScopedPlatformPaint paint(canvas); |
- HDC surface = paint.GetNativeDrawingContext(); |
+ HDC surface = skia::GetNativeDrawingContext(canvas); |
// When drawing the task manager or the bookmark editor, we draw into an |
// offscreen buffer, where we can use OS-specific drawing routines for |