summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webkit_glue.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webkit_glue.cc')
-rw-r--r--webkit/glue/webkit_glue.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/webkit/glue/webkit_glue.cc b/webkit/glue/webkit_glue.cc
index a1e7272..335c3b0 100644
--- a/webkit/glue/webkit_glue.cc
+++ b/webkit/glue/webkit_glue.cc
@@ -64,6 +64,13 @@ void SetRecordPlaybackMode(bool value) {
#endif
}
+
+void SetShouldExposeGCController(bool enable) {
+#if USE(V8)
+ WebCore::ScriptController::setShouldExposeGCController(enable);
+#endif
+}
+
static bool layout_test_mode_ = false;
void SetLayoutTestMode(bool enable) {