diff options
-rw-r--r-- | webkit/plugins/ppapi/url_request_info_unittest.cc | 6 | ||||
-rw-r--r-- | webkit/tools/test_shell/webview_host_gtk.cc | 4 | ||||
-rw-r--r-- | webkit/tools/test_shell/webview_host_win.cc | 4 |
3 files changed, 13 insertions, 1 deletions
diff --git a/webkit/plugins/ppapi/url_request_info_unittest.cc b/webkit/plugins/ppapi/url_request_info_unittest.cc index 341eeb2..2b3fbdb 100644 --- a/webkit/plugins/ppapi/url_request_info_unittest.cc +++ b/webkit/plugins/ppapi/url_request_info_unittest.cc @@ -49,7 +49,11 @@ class URLRequestInfoTest : public PpapiUnittest { } static void SetUpTestCase() { - web_view_ = WebView::create(0, 0); +#if defined(WEBKIT_HAS_WEB_AUTO_FILL_CLIENT) + web_view_ = WebView::create(NULL, NULL, NULL); +#else + web_view_ = WebView::create(NULL, NULL); +#endif web_view_->initializeMainFrame(&web_frame_client_); WebURL web_url(GURL("")); WebURLRequest url_request; diff --git a/webkit/tools/test_shell/webview_host_gtk.cc b/webkit/tools/test_shell/webview_host_gtk.cc index 92a6016..a77aedb 100644 --- a/webkit/tools/test_shell/webview_host_gtk.cc +++ b/webkit/tools/test_shell/webview_host_gtk.cc @@ -28,7 +28,11 @@ WebViewHost* WebViewHost::Create(GtkWidget* parent_view, host->view_ = WebWidgetHost::CreateWidget(parent_view, host); host->plugin_container_manager_.set_host_widget(host->view_); +#if defined(WEBKIT_HAS_WEB_AUTO_FILL_CLIENT) + host->webwidget_ = WebView::create(delegate, dev_tools_client, NULL); +#else host->webwidget_ = WebView::create(delegate, dev_tools_client); +#endif prefs.Apply(host->webview()); host->webview()->initializeMainFrame(delegate); host->webwidget_->layout(); diff --git a/webkit/tools/test_shell/webview_host_win.cc b/webkit/tools/test_shell/webview_host_win.cc index 2d908c0..62d1ae4 100644 --- a/webkit/tools/test_shell/webview_host_win.cc +++ b/webkit/tools/test_shell/webview_host_win.cc @@ -42,7 +42,11 @@ WebViewHost* WebViewHost::Create(HWND parent_view, GetModuleHandle(NULL), NULL); app::win::SetWindowUserData(host->view_, host); +#if defined(WEBKIT_HAS_WEB_AUTO_FILL_CLIENT) + host->webwidget_ = WebView::create(delegate, dev_tools_client, NULL); +#else host->webwidget_ = WebView::create(delegate, dev_tools_client); +#endif prefs.Apply(host->webview()); host->webview()->initializeMainFrame(delegate); |