summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authormihaip@chromium.org <mihaip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-11 03:04:26 +0000
committermihaip@chromium.org <mihaip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-11 03:04:26 +0000
commit7886cb56c5f05c39f253fd5e98e89a3da5d60016 (patch)
tree5fd2129791505b2ffbebcb533aeb8a1851b239c7 /webkit
parentdae536dc8d53e598873672bc24b231bb38601385 (diff)
downloadchromium_src-7886cb56c5f05c39f253fd5e98e89a3da5d60016.zip
chromium_src-7886cb56c5f05c39f253fd5e98e89a3da5d60016.tar.gz
chromium_src-7886cb56c5f05c39f253fd5e98e89a3da5d60016.tar.bz2
Update WebView::create call after http://trac.webkit.org/changeset/75448 to
unbreak Mac WebKit canary bot (Mac side of r70952). BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6157004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70991 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/tools/test_shell/mac/webview_host.mm4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/mac/webview_host.mm b/webkit/tools/test_shell/mac/webview_host.mm
index 7be0286..818b6fa 100644
--- a/webkit/tools/test_shell/mac/webview_host.mm
+++ b/webkit/tools/test_shell/mac/webview_host.mm
@@ -39,7 +39,11 @@ WebViewHost* WebViewHost::Create(NSView* parent_view,
[parent_view addSubview:host->view_];
[host->view_ release];
+#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_->resize(WebSize(content_rect.size.width,