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

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

Issue 913473002: Testing a fix to crbug.com/456059. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: refactored Created 5 years, 10 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: Source/core/dom/ScriptRunner.h
diff --git a/Source/core/dom/ScriptRunner.h b/Source/core/dom/ScriptRunner.h
index 42afd02d27362e63c239d73996cea1061cf80ad3..7f0cfbe5a237cc370cd4494b19aeb27ddb7dd7e3 100644
--- a/Source/core/dom/ScriptRunner.h
+++ b/Source/core/dom/ScriptRunner.h
@@ -56,7 +56,7 @@ public:
void notifyScriptReady(ScriptLoader*, ExecutionType);
void notifyScriptLoadError(ScriptLoader*, ExecutionType);
- void movePendingAsyncScript(ScriptRunner*, ScriptLoader*);
+ static void movePendingAsyncScript(Document&, Document&, ScriptLoader*);
void trace(Visitor*);
@@ -67,6 +67,8 @@ private:
void addPendingAsyncScript(ScriptLoader*);
+ void movePendingAsyncScript(ScriptRunner*, ScriptLoader*);
+
RawPtrWillBeMember<Document> m_document;
WillBeHeapVector<RawPtrWillBeMember<ScriptLoader> > m_scriptsToExecuteInOrder;
// http://www.whatwg.org/specs/web-apps/current-work/#set-of-scripts-that-will-execute-as-soon-as-possible

Powered by Google App Engine
This is Rietveld 408576698