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

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

Issue 298863010: Oilpan: have PendingScripts trace their script elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Improve comment + code style 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/HTMLScriptRunnerHost.h
diff --git a/Source/core/html/parser/HTMLScriptRunnerHost.h b/Source/core/html/parser/HTMLScriptRunnerHost.h
index e5323a2c3ae332c5f3c6446bee80612097f0f3f5..80655e97d7cd6467611e721ac531c13795316e30 100644
--- a/Source/core/html/parser/HTMLScriptRunnerHost.h
+++ b/Source/core/html/parser/HTMLScriptRunnerHost.h
@@ -31,19 +31,13 @@
namespace WebCore {
class Resource;
-class Element;
class HTMLInputStream;
-class ScriptSourceCode;
class HTMLScriptRunnerHost {
public:
virtual ~HTMLScriptRunnerHost() { }
- // Implementors should call cachedResource->addClient() here or soon after.
- virtual void watchForLoad(Resource*) = 0;
- // Implementors must call cachedResource->removeClient() immediately.
- virtual void stopWatchingForLoad(Resource*) = 0;
-
+ virtual void notifyScriptLoaded(Resource*) = 0;
virtual HTMLInputStream& inputStream() = 0;
virtual bool hasPreloadScanner() const = 0;
« Source/core/html/parser/HTMLScriptRunner.cpp ('K') | « Source/core/html/parser/HTMLScriptRunner.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698