| Index: chrome/renderer/chrome_ppb_pdf_impl.cc
|
| ===================================================================
|
| --- chrome/renderer/chrome_ppb_pdf_impl.cc (revision 118405)
|
| +++ chrome/renderer/chrome_ppb_pdf_impl.cc (working copy)
|
| @@ -178,7 +178,7 @@
|
| if (!mapper.is_valid())
|
| return 0;
|
|
|
| - skia::PlatformCanvas* canvas = image_data->mapped_canvas();
|
| + skia::PlatformCanvas* canvas = image_data->GetPlatformCanvas();
|
| // Note: Do not skBitmap::copyTo the canvas bitmap directly because it will
|
| // ignore the allocated pixels in shared memory and re-allocate a new buffer.
|
| canvas->writePixels(*res_bitmap, 0, 0);
|
|
|