Index: Source/core/svg/graphics/SVGImage.cpp |
diff --git a/Source/core/svg/graphics/SVGImage.cpp b/Source/core/svg/graphics/SVGImage.cpp |
index 395f2db1e4c341aa3724ec4a8f3824d2a4620042..6c3f2de1af84dc79edf103fe204edb0c7a8dc8c2 100644 |
--- a/Source/core/svg/graphics/SVGImage.cpp |
+++ b/Source/core/svg/graphics/SVGImage.cpp |
@@ -83,6 +83,9 @@ bool SVGImage::hasSingleSecurityOrigin() const |
return true; |
Frame* frame = m_page->mainFrame(); |
+ |
+ RELEASE_ASSERT(!frame->loader()->activeDocumentLoader()->isLoading()); |
abarth-chromium
2013/08/21 17:07:31
If you want to do things this way, the best check
|
+ |
SVGSVGElement* rootElement = toSVGDocument(frame->document())->rootElement(); |
if (!rootElement) |
return true; |