summaryrefslogtreecommitdiffstats
path: root/webkit/pending/ScriptController.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/pending/ScriptController.h')
-rw-r--r--webkit/pending/ScriptController.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/pending/ScriptController.h b/webkit/pending/ScriptController.h
index b03ae99..3350289 100644
--- a/webkit/pending/ScriptController.h
+++ b/webkit/pending/ScriptController.h
@@ -164,9 +164,11 @@ public:
ScriptController(Frame*);
~ScriptController();
+#if USE(V8)
// TODO(eseidel): V8Proxy should either be folded into ScriptController
// or this accessor should be made JSProxy*
V8Proxy* proxy() { return m_proxy.get(); }
+#endif
// Evaluate a script file in the environment of this proxy.
// If succeeded, 'succ' is set to true and result is returned