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

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

Issue 496443008: Transfer pending async script loader to new document. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Robustify new test wrt expected output Created 6 years, 4 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 | « LayoutTests/fast/dom/HTMLScriptElement/resources/should-load.js ('k') | Source/core/dom/ScriptRunner.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ScriptRunner.h
diff --git a/Source/core/dom/ScriptRunner.h b/Source/core/dom/ScriptRunner.h
index 4ee1578a0ea1584c6b23c3532f259e81b2ac47a5..33050766c3d1f64c5d7a4623f2cfc45a7012a7a0 100644
--- a/Source/core/dom/ScriptRunner.h
+++ b/Source/core/dom/ScriptRunner.h
@@ -58,6 +58,8 @@ public:
void notifyScriptReady(ScriptLoader*, ExecutionType);
void notifyScriptLoadError(ScriptLoader*, ExecutionType);
+ void movePendingAsyncScript(ScriptRunner*, ScriptLoader*);
+
void trace(Visitor*);
private:
@@ -65,6 +67,8 @@ private:
void timerFired(Timer<ScriptRunner>*);
+ void addPendingAsyncScript(ScriptLoader*, const PendingScript&);
+
RawPtrWillBeMember<Document> m_document;
// FIXME: Oilpan: consider using heap vectors and hash map here;
// PendingScript does have a (trivial) destructor, however.
« no previous file with comments | « LayoutTests/fast/dom/HTMLScriptElement/resources/should-load.js ('k') | Source/core/dom/ScriptRunner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698