| Index: content/browser/renderer_host/backing_store_win.cc
|
| ===================================================================
|
| --- content/browser/renderer_host/backing_store_win.cc (revision 160846)
|
| +++ content/browser/renderer_host/backing_store_win.cc (working copy)
|
| @@ -159,12 +159,12 @@
|
| }
|
|
|
| bool BackingStoreWin::CopyFromBackingStore(const gfx::Rect& rect,
|
| - skia::PlatformCanvas* output) {
|
| - if (!output->initialize(rect.width(), rect.height(), true))
|
| + skia::PlatformBitmap* output) {
|
| + if (!output->Allocate(rect.width(), rect.height(), true))
|
| return false;
|
|
|
| - skia::ScopedPlatformPaint scoped_platform_paint(output);
|
| - HDC temp_dc = scoped_platform_paint.GetPlatformSurface();
|
| + skia::ScopedPlatformBitmap scoped_platform_bitmap(output);
|
| + HDC temp_dc = scoped_platform_bitmap.GetPlatformSurface();
|
| BitBlt(temp_dc, 0, 0, rect.width(), rect.height(),
|
| hdc(), rect.x(), rect.y(), SRCCOPY);
|
| return true;
|
|
|