| Index: ui/gfx/canvas.cc
|
| diff --git a/ui/gfx/canvas.cc b/ui/gfx/canvas.cc
|
| index cd769000993d05159f9e9e8d42d115368ed96b54..1fe2d3ca951b85bee70082a447ff4da17586a3e7 100644
|
| --- a/ui/gfx/canvas.cc
|
| +++ b/ui/gfx/canvas.cc
|
| @@ -120,7 +120,7 @@ ImageSkiaRep Canvas::ExtractImageRep() const {
|
| // Make a bitmap to return, and a canvas to draw into it. We don't just want
|
| // to call extractSubset or the copy constructor, since we want an actual copy
|
| // of the bitmap.
|
| - const SkISize size = canvas_->getDeviceSize();
|
| + const SkISize size = canvas_->getBaseLayerSize();
|
| SkBitmap result;
|
| result.allocN32Pixels(size.width(), size.height());
|
|
|
|
|