Index: third_party/WebKit/Source/platform/graphics/ImageBufferSurface.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.cpp b/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.cpp |
index 9bf60796d027bd4089bce72b1922b06ad77deb16..3ad711206f493b6696b164f924f007115feb0164 100644 |
--- a/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.cpp |
@@ -74,7 +74,7 @@ void ImageBufferSurface::draw(GraphicsContext& context, const FloatRect& destRec |
if (!snapshot) |
return; |
- RefPtr<Image> image = StaticBitmapImage::create(snapshot.release()); |
+ RefPtr<Image> image = StaticBitmapImage::create(snapshot.release(), HasSingleSecurityOrigin); |
context.drawImage(image.get(), destRect, srcRect, op); |
} |