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.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/mac/webview_host.mm b/webkit/tools/test_shell/mac/webview_host.mm
index 803555a..942f55d 100644
--- a/webkit/tools/test_shell/mac/webview_host.mm
+++ b/webkit/tools/test_shell/mac/webview_host.mm
@@ -29,6 +29,7 @@ WebViewHost* WebViewHost::Create(NSWindow *parent_window,
// make the height and width track the window size.
[host->view_ setAutoresizingMask:(NSViewWidthSizable | NSViewHeightSizable)];
[[parent_window contentView] addSubview:host->view_];
+ [host->view_ release];
host->webwidget_ = WebView::Create(delegate, prefs);
host->webwidget_->Resize(gfx::Size(content_rect.size.width,