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

Unified Diff: Source/core/dom/ScriptRunner.h

Issue 298863010: Oilpan: have PendingScripts trace their script elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add PendingScript::m_element comment + GC plugin annotation. 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/dom/ScriptRunner.h
diff --git a/Source/core/dom/ScriptRunner.h b/Source/core/dom/ScriptRunner.h
index b47139c86298105a835a442ce1ac0e1d07cc64aa..1f9a4703b09638d8a19bd7a144b332d26ceb1951 100644
--- a/Source/core/dom/ScriptRunner.h
+++ b/Source/core/dom/ScriptRunner.h
@@ -39,6 +39,7 @@ class ScriptResource;
class Document;
class PendingScript;
class ScriptLoader;
+class Visitor;
class ScriptRunner {
Mads Ager (chromium) 2014/05/26 13:55:36 I think we could move ScriptRunner to the oilpan h
sof 2014/05/27 08:31:04 Yes, moving ScriptRunner is doable and easier than
WTF_MAKE_NONCOPYABLE(ScriptRunner); WTF_MAKE_FAST_ALLOCATED;
@@ -54,6 +55,8 @@ public:
void notifyScriptReady(ScriptLoader*, ExecutionType);
void notifyScriptLoadError(ScriptLoader*, ExecutionType);
+ void trace(Visitor*);
+
private:
explicit ScriptRunner(Document*);

Powered by Google App Engine
This is Rietveld 408576698