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

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

Issue 1380543002: On Document disposal, only dispose of script runner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert static method Created 5 years, 3 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: third_party/WebKit/Source/core/dom/ScriptRunner.h
diff --git a/third_party/WebKit/Source/core/dom/ScriptRunner.h b/third_party/WebKit/Source/core/dom/ScriptRunner.h
index 5a3d66d1c358cd08c12d0f1d2111cef57188b721..f39b73d9aec799b089d3ab78c2798e242b0547cd 100644
--- a/third_party/WebKit/Source/core/dom/ScriptRunner.h
+++ b/third_party/WebKit/Source/core/dom/ScriptRunner.h
@@ -48,6 +48,9 @@ public:
return adoptPtrWillBeNoop(new ScriptRunner(document));
}
~ScriptRunner();
+#if !ENABLE(OILPAN)
+ void dispose();
+#endif
enum ExecutionType { ASYNC_EXECUTION, IN_ORDER_EXECUTION };
void queueScriptForExecution(ScriptLoader*, ExecutionType);
@@ -82,6 +85,6 @@ private:
OwnPtr<CancellableTaskFactory> m_executeScriptsTaskFactory;
};
-}
+} // namespace blink
-#endif
+#endif // ScriptRunner_h
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/ScriptRunner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698