Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(445)

Unified Diff: third_party/WebKit/Source/core/html/ImageDocument.cpp

Issue 2042413002: Notify the HTMLDocumentParser on document element available (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: insertedByParser after actual insertion point Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/ImageDocument.cpp
diff --git a/third_party/WebKit/Source/core/html/ImageDocument.cpp b/third_party/WebKit/Source/core/html/ImageDocument.cpp
index 012280c450e4e8b0bd25b67fb5a42f47c7d4cd49..aca5533bb18256f4104464c3d7f67b98b32d0b56 100644
--- a/third_party/WebKit/Source/core/html/ImageDocument.cpp
+++ b/third_party/WebKit/Source/core/html/ImageDocument.cpp
@@ -208,8 +208,6 @@ void ImageDocument::createDocumentStructure()
appendChild(rootElement);
rootElement->insertedByParser();
- frame()->loader().dispatchDocumentElementAvailable();
- frame()->loader().runScriptsAtDocumentElementAvailable();
if (isStopped())
return; // runScriptsAtDocumentElementAvailable can detach the frame.
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLHtmlElement.cpp ('k') | third_party/WebKit/Source/core/html/MediaDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698