Index: Source/core/rendering/shapes/ShapeOutsideInfo.cpp |
diff --git a/Source/core/rendering/shapes/ShapeOutsideInfo.cpp b/Source/core/rendering/shapes/ShapeOutsideInfo.cpp |
index 22cd6a810c35eabf737d12985113877bcd7ab962..c9383a00484955f822565402fd2acbe33de6de01 100644 |
--- a/Source/core/rendering/shapes/ShapeOutsideInfo.cpp |
+++ b/Source/core/rendering/shapes/ShapeOutsideInfo.cpp |
@@ -89,7 +89,7 @@ static bool checkShapeImageOrigin(Document& document, const StyleImage& styleIma |
ASSERT(styleImage.cachedImage()); |
ImageResource& imageResource = *(styleImage.cachedImage()); |
- if (imageResource.isAccessAllowed(document.securityOrigin())) |
+ if (imageResource.isAccessAllowed(&document, document.securityOrigin())) |
return true; |
const KURL& url = imageResource.url(); |