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

Unified Diff: Source/core/html/parser/HTMLScriptRunner.h

Issue 271533002: Make ScriptLoader into a ResourceOwner (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
Index: Source/core/html/parser/HTMLScriptRunner.h
diff --git a/Source/core/html/parser/HTMLScriptRunner.h b/Source/core/html/parser/HTMLScriptRunner.h
index e193f95facd8b6ec1aeb5349da56213151b44857..23588ef51cb4ffaa9797a50a8c40f74d1d60d5bd 100644
--- a/Source/core/html/parser/HTMLScriptRunner.h
+++ b/Source/core/html/parser/HTMLScriptRunner.h
@@ -77,9 +77,9 @@ private:
void executePendingScriptAndDispatchEvent(PendingScript&, PendingScriptType);
void executeParsingBlockingScripts();
- void requestParsingBlockingScript(Element*);
- void requestDeferredScript(Element*);
- bool requestPendingScript(PendingScript&, Element*) const;
+ void requestParsingBlockingScript(const ResourcePtr<ScriptResource>&, Element*);
Nate Chapin 2014/05/07 18:13:10 Like in ScriptLoader, could we return the Resource
Hajime Morrita 2014/05/07 18:27:28 These aren't return values.
+ void requestDeferredScript(const ResourcePtr<ScriptResource>&, Element*);
+ bool requestPendingScript(const ResourcePtr<ScriptResource>&, PendingScript&, Element*) const;
void runScript(Element*, const TextPosition& scriptStartPosition);

Powered by Google App Engine
This is Rietveld 408576698