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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp

Issue 2549143009: Create PendingScriptClient as a separate client interface for PendingScript. (Closed)
Patch Set: . Created 4 years 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/html/parser/HTMLDocumentParser.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
index 21089756df88436411d2d882426c5dd373540ed3..d64bcc92e7db9eeb9702c0ebee0bb31560369caa 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
@@ -1085,7 +1085,7 @@ void HTMLDocumentParser::appendCurrentInputStreamToPreloadScannerAndScan() {
scanAndPreload(m_preloadScanner.get());
}
-void HTMLDocumentParser::notifyScriptLoaded(Resource* cachedResource) {
+void HTMLDocumentParser::notifyScriptLoaded(PendingScript* pendingScript) {
ASSERT(m_scriptRunner);
ASSERT(!isExecutingScript());
@@ -1098,7 +1098,7 @@ void HTMLDocumentParser::notifyScriptLoaded(Resource* cachedResource) {
return;
}
- m_scriptRunner->executeScriptsWaitingForLoad(cachedResource);
+ m_scriptRunner->executeScriptsWaitingForLoad(pendingScript);
if (!isWaitingForScripts())
resumeParsingAfterScriptExecution();
}

Powered by Google App Engine
This is Rietveld 408576698