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

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: Trace HTMLScriptRunnerHost from HTMLScriptRunner 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
« no previous file with comments | « Source/core/html/parser/HTMLScriptRunner.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/html/parser/HTMLScriptRunner.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698