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

Unified Diff: Source/core/html/HTMLScriptElement.cpp

Issue 288033006: Revert a series of wrong fixes for crbug.com/361011 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
« no previous file with comments | « Source/core/html/HTMLScriptElement.h ('k') | Source/core/svg/SVGScriptElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLScriptElement.cpp
diff --git a/Source/core/html/HTMLScriptElement.cpp b/Source/core/html/HTMLScriptElement.cpp
index 6115de364e4ceb54aec6c77810e5bbad8478288d..aa63fe8aa24fddfd36b9a217d807c202a8792208 100644
--- a/Source/core/html/HTMLScriptElement.cpp
+++ b/Source/core/html/HTMLScriptElement.cpp
@@ -90,12 +90,6 @@ void HTMLScriptElement::didNotifySubtreeInsertionsToDocument()
m_loader->didNotifySubtreeInsertionsToDocument();
}
-void HTMLScriptElement::didMoveToNewDocument(Document& oldDocument)
-{
- HTMLElement::didMoveToNewDocument(oldDocument);
- m_loader->cancel(&oldDocument);
-}
-
void HTMLScriptElement::setText(const String &value)
{
RefPtr<Node> protectFromMutationEvents(this);
« no previous file with comments | « Source/core/html/HTMLScriptElement.h ('k') | Source/core/svg/SVGScriptElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698