Index: content/browser/renderer_host/backing_store_win.cc |
=================================================================== |
--- content/browser/renderer_host/backing_store_win.cc (revision 86706) |
+++ content/browser/renderer_host/backing_store_win.cc (working copy) |
@@ -158,10 +158,10 @@ |
if (!output->initialize(rect.width(), rect.height(), true)) |
return false; |
- HDC temp_dc = output->beginPlatformPaint(); |
+ skia::ScopedPlatformPaint scoped_platform_paint(output); |
+ HDC temp_dc = scoped_platform_paint.GetPlatformSurface(); |
BitBlt(temp_dc, 0, 0, rect.width(), rect.height(), |
hdc(), rect.x(), rect.y(), SRCCOPY); |
- output->endPlatformPaint(); |
return true; |
} |