summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/mac/webview_host.mm
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell/mac/webview_host.mm')
-rw-r--r--webkit/tools/test_shell/mac/webview_host.mm9
1 files changed, 3 insertions, 6 deletions
diff --git a/webkit/tools/test_shell/mac/webview_host.mm b/webkit/tools/test_shell/mac/webview_host.mm
index 13f8332..7c6c949 100644
--- a/webkit/tools/test_shell/mac/webview_host.mm
+++ b/webkit/tools/test_shell/mac/webview_host.mm
@@ -10,12 +10,9 @@
#include "base/gfx/platform_canvas.h"
#include "base/gfx/rect.h"
#include "base/gfx/size.h"
-#include "third_party/WebKit/WebKit/chromium/public/WebSize.h"
#include "webkit/glue/webview.h"
-using WebKit::WebSize;
-
-// static
+/*static*/
WebViewHost* WebViewHost::Create(NSView* parent_view,
WebViewDelegate* delegate,
const WebPreferences& prefs) {
@@ -34,8 +31,8 @@ WebViewHost* WebViewHost::Create(NSView* parent_view,
[host->view_ release];
host->webwidget_ = WebView::Create(delegate, prefs);
- host->webwidget_->Resize(WebSize(content_rect.size.width,
- content_rect.size.height));
+ host->webwidget_->Resize(gfx::Size(content_rect.size.width,
+ content_rect.size.height));
return host;
}