| Index: third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
|
| index 29c3ca2f426c26af3d1aa2af5964a79028ced540..f82b56dc81efe442ce2add2a307ffd6110df9e8e 100644
|
| --- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
|
| @@ -55,6 +55,7 @@
|
| #include "platform/graphics/ImageBuffer.h"
|
| #include "platform/graphics/ImageObserver.h"
|
| #include "platform/graphics/paint/ClipRecorder.h"
|
| +#include "platform/graphics/paint/CullRect.h"
|
| #include "platform/graphics/paint/DrawingRecorder.h"
|
| #include "platform/graphics/paint/SkPictureBuilder.h"
|
| #include "third_party/skia/include/core/SkPicture.h"
|
| @@ -306,7 +307,7 @@ void SVGImage::draw(SkCanvas* canvas, const SkPaint& paint, const FloatRect& dst
|
| TransformRecorder transformRecorder(imagePicture.context(), *this, transform);
|
|
|
| view->updateAllLifecyclePhases();
|
| - view->paint(&imagePicture.context(), enclosingIntRect(srcRect));
|
| + view->paint(&imagePicture.context(), CullRect(enclosingIntRect(srcRect)));
|
| ASSERT(!view->needsLayout());
|
| }
|
|
|
|
|