summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-08 22:12:40 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-08 22:12:40 +0000
commit1640ffbff45713748fb31c9bbae46ea47ab6e8e0 (patch)
treea1eba1cad40b8e799105324477bfac2de1805a65 /webkit/tools/test_shell
parentab2ce506af42a31366479f960eb065dcb6ad4ed0 (diff)
downloadchromium_src-1640ffbff45713748fb31c9bbae46ea47ab6e8e0.zip
chromium_src-1640ffbff45713748fb31c9bbae46ea47ab6e8e0.tar.gz
chromium_src-1640ffbff45713748fb31c9bbae46ea47ab6e8e0.tar.bz2
fix mac bustage
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13386 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell')
-rw-r--r--webkit/tools/test_shell/mac/webview_host.mm9
1 files changed, 6 insertions, 3 deletions
diff --git a/webkit/tools/test_shell/mac/webview_host.mm b/webkit/tools/test_shell/mac/webview_host.mm
index 7c6c949..13f8332 100644
--- a/webkit/tools/test_shell/mac/webview_host.mm
+++ b/webkit/tools/test_shell/mac/webview_host.mm
@@ -10,9 +10,12 @@
#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"
-/*static*/
+using WebKit::WebSize;
+
+// static
WebViewHost* WebViewHost::Create(NSView* parent_view,
WebViewDelegate* delegate,
const WebPreferences& prefs) {
@@ -31,8 +34,8 @@ WebViewHost* WebViewHost::Create(NSView* parent_view,
[host->view_ release];
host->webwidget_ = WebView::Create(delegate, prefs);
- host->webwidget_->Resize(gfx::Size(content_rect.size.width,
- content_rect.size.height));
+ host->webwidget_->Resize(WebSize(content_rect.size.width,
+ content_rect.size.height));
return host;
}