Index: third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.cpp b/third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.cpp |
index b6f9bf6733ec9cd4e7315514b686268c3a29ef6d..f89ba9356f9f5129d23fd580a4d64911c4f753ec 100644 |
--- a/third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.cpp |
@@ -23,7 +23,7 @@ void PaintGeneratedImage::Draw(PaintCanvas* canvas, |
canvas->scale(dest_rect.Width() / src_rect.Width(), |
dest_rect.Height() / src_rect.Height()); |
canvas->translate(-src_rect.X(), -src_rect.Y()); |
- SkRect bounds = record_->cullRect(); |
+ SkRect bounds = dest_rect; |
canvas->saveLayer(&bounds, &flags); |
canvas->drawPicture(record_); |
} |