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..ec3a8b6892552ff971197e1fe7684ad238034497 100644 |
--- a/Source/core/html/parser/HTMLScriptRunnerHost.h |
+++ b/Source/core/html/parser/HTMLScriptRunnerHost.h |
@@ -30,20 +30,16 @@ |
namespace WebCore { |
-class Resource; |
-class Element; |
class HTMLInputStream; |
-class ScriptSourceCode; |
+class Resource; |
+class Visitor; |
-class HTMLScriptRunnerHost { |
+class HTMLScriptRunnerHost : public WillBeGarbageCollectedMixin { |
public: |
virtual ~HTMLScriptRunnerHost() { } |
+ virtual void trace(Visitor*) { } |
- // 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; |