Index: webkit/tools/test_shell/gtk/webview_host.cc |
diff --git a/webkit/tools/test_shell/gtk/webview_host.cc b/webkit/tools/test_shell/gtk/webview_host.cc |
index 4eecae1aead3188a74895d045c1a1701332d2add..d84ea7446d40a9addc063daff379497023f566c2 100644 |
--- a/webkit/tools/test_shell/gtk/webview_host.cc |
+++ b/webkit/tools/test_shell/gtk/webview_host.cc |
@@ -13,19 +13,15 @@ |
#include "webkit/glue/webview.h" |
/*static*/ |
-WebViewHost* WebViewHost::Create(GtkWidget* box, |
+WebViewHost* WebViewHost::Create(GtkWidget* parent_window, |
WebViewDelegate* delegate, |
const WebPreferences& prefs) { |
- // TODO(agl): |
- // /usr/local/google/agl/src/chrome/src/webkit/tools/test_shell/gtk/webview_host.cc:19: error: no matching function for call to 'WebWidgetHost::Create(GtkWidget*&, WebViewDelegate*&)' |
- WebViewHost* host = reinterpret_cast<WebViewHost *>(WebWidgetHost::Create(box, NULL)); |
+ WebViewHost* host = new WebViewHost(); |
// TODO(erg): |
// - Set "host->view_" |
// - Call "host->webwidget_->Resize" |
host->webwidget_ = WebView::Create(delegate, prefs); |
- host->webwidget_->Resize(gfx::Size(640, 480)); |
- host->webwidget_->Layout(); |
return host; |
} |