diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-25 11:46:49 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-25 11:46:49 +0000 |
commit | 9a6c623d98ef93ef571821f219b4fe24bfa56e7f (patch) | |
tree | 5a7c81e3d28c3d26387ffbeac9f65c6d3ae6565a /webkit/tools/test_shell/mac/webview_host.mm | |
parent | 2863f99e4ec90a23098d3e4de1861e67395ffa2a (diff) | |
download | chromium_src-9a6c623d98ef93ef571821f219b4fe24bfa56e7f.zip chromium_src-9a6c623d98ef93ef571821f219b4fe24bfa56e7f.tar.gz chromium_src-9a6c623d98ef93ef571821f219b4fe24bfa56e7f.tar.bz2 |
DevTools: migrate to new WebView constructor.
Review URL: http://codereview.chromium.org/2814033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50839 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/mac/webview_host.mm')
-rw-r--r-- | webkit/tools/test_shell/mac/webview_host.mm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/webkit/tools/test_shell/mac/webview_host.mm b/webkit/tools/test_shell/mac/webview_host.mm index 1d7af4d..7be0286 100644 --- a/webkit/tools/test_shell/mac/webview_host.mm +++ b/webkit/tools/test_shell/mac/webview_host.mm @@ -16,12 +16,14 @@ #include "webkit/tools/test_shell/test_shell.h" #include "webkit/tools/test_shell/test_webview_delegate.h" +using WebKit::WebDevToolsAgentClient; using WebKit::WebSize; using WebKit::WebView; // static WebViewHost* WebViewHost::Create(NSView* parent_view, TestWebViewDelegate* delegate, + WebDevToolsAgentClient* dev_tools_client, const WebPreferences& prefs) { WebViewHost* host = new WebViewHost(); @@ -37,7 +39,7 @@ WebViewHost* WebViewHost::Create(NSView* parent_view, [parent_view addSubview:host->view_]; [host->view_ release]; - host->webwidget_ = WebView::create(delegate); + host->webwidget_ = WebView::create(delegate, dev_tools_client); prefs.Apply(host->webview()); host->webview()->initializeMainFrame(delegate); host->webwidget_->resize(WebSize(content_rect.size.width, |