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 |