| 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.
|
|
|
|
|