Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(436)

Unified Diff: webkit/glue/webpreferences.cc

Issue 246079: More WebView / WebViewDelegate cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/webpreferences.h ('k') | webkit/glue/webview.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webpreferences.cc
===================================================================
--- webkit/glue/webpreferences.cc (revision 27906)
+++ webkit/glue/webpreferences.cc (working copy)
@@ -13,6 +13,7 @@
#include "webkit/glue/webview.h"
using WebKit::WebSettings;
+using WebKit::WebString;
using WebKit::WebURL;
void WebPreferences::Apply(WebView* web_view) const {
@@ -80,7 +81,7 @@
settings->setExperimentalWebGLEnabled(experimental_webgl_enabled);
// Web inspector settings need to be passed in differently.
- web_view->SetInspectorSettings(inspector_settings);
+ web_view->setInspectorSettings(WebString::fromUTF8(inspector_settings));
// Tabs to link is not part of the settings. WebCore calls
// ChromeClient::tabsToLinks which is part of the glue code.
« no previous file with comments | « webkit/glue/webpreferences.h ('k') | webkit/glue/webview.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698