summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webpreferences.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webpreferences.cc')
-rw-r--r--webkit/glue/webpreferences.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/webpreferences.cc b/webkit/glue/webpreferences.cc
index d14b600..c127ccd 100644
--- a/webkit/glue/webpreferences.cc
+++ b/webkit/glue/webpreferences.cc
@@ -89,6 +89,10 @@ void WebPreferences::Apply(WebView* web_view) const {
// compiled in.
settings->setGeolocationEnabled(geolocation_enabled);
+ // Display colored borders around composited render layers if requested
+ // on command line.
+ settings->setShowDebugBorders(show_composited_layer_borders);
+
// Web inspector settings need to be passed in differently.
web_view->setInspectorSettings(WebString::fromUTF8(inspector_settings));