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; |