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

Unified Diff: third_party/WebKit/Source/core/dom/ScriptRunner.h

Issue 1620983002: Also transfer pending in-order scripts upon element moving to new document (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: also remove is-disposed checking; unnecessary Created 4 years, 11 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/dom/ScriptRunner.h
diff --git a/third_party/WebKit/Source/core/dom/ScriptRunner.h b/third_party/WebKit/Source/core/dom/ScriptRunner.h
index 0429bae21edb3cdd8ea6a47b873edfe2088a1008..cc916b38e959cbde0632d1ae4cf36b9b6db2c9ca 100644
--- a/third_party/WebKit/Source/core/dom/ScriptRunner.h
+++ b/third_party/WebKit/Source/core/dom/ScriptRunner.h
@@ -61,7 +61,7 @@ public:
void notifyScriptReady(ScriptLoader*, ExecutionType);
void notifyScriptLoadError(ScriptLoader*, ExecutionType);
- static void movePendingAsyncScript(Document&, Document&, ScriptLoader*);
+ static void movePendingScript(Document&, Document&, ScriptLoader*);
DECLARE_TRACE();
@@ -70,9 +70,8 @@ private:
explicit ScriptRunner(Document*);
- void addPendingAsyncScript(ScriptLoader*);
-
- void movePendingAsyncScript(ScriptRunner*, ScriptLoader*);
+ void movePendingScript(ScriptRunner*, ScriptLoader*);
+ bool removePendingInOrderScript(ScriptLoader*);
void postTask(const WebTraceLocation&);
@@ -99,7 +98,6 @@ private:
#endif
#if !ENABLE(OILPAN)
- bool m_isDisposed;
WeakPtrFactory<ScriptRunner> m_weakPointerFactoryForTasks;
#endif
};
« no previous file with comments | « third_party/WebKit/Source/core/dom/ScriptLoader.cpp ('k') | third_party/WebKit/Source/core/dom/ScriptRunner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698