summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
authorjorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-20 22:51:20 +0000
committerjorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-20 22:51:20 +0000
commita4410e4840cb466541ebd1ec754e48edf409fac7 (patch)
tree07ce229ced162f5181b9cea3fe6e0d0d7c1480a2 /webkit/glue
parent9ba3c217c816e50fedfb9eeb54da26a6391c2303 (diff)
downloadchromium_src-a4410e4840cb466541ebd1ec754e48edf409fac7.zip
chromium_src-a4410e4840cb466541ebd1ec754e48edf409fac7.tar.gz
chromium_src-a4410e4840cb466541ebd1ec754e48edf409fac7.tar.bz2
I forgot to hook up the inspector settings during my webpreferences refactoring change (http://src.chromium.org/viewvc/chrome?view=rev&revision=23589). Do that now.
TEST=none BUG=none Review URL: http://codereview.chromium.org/173130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23904 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/webpreferences.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/glue/webpreferences.cc b/webkit/glue/webpreferences.cc
index 86a8c7a..e14788e 100644
--- a/webkit/glue/webpreferences.cc
+++ b/webkit/glue/webpreferences.cc
@@ -73,4 +73,7 @@ void WebPreferences::Apply(WebView* web_view) const {
// submenu to a context menu. it is not only because we don't need the result
// but also because it cause a possible crash in Editor::hasBidiSelection().
settings->setTextDirectionSubmenuInclusionBehaviorNeverIncluded();
+
+ // Web inspector settings need to be passed in differently.
+ web_view->SetInspectorSettings(inspector_settings);
}