Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Unified Diff: webkit/tools/test_shell/mac/test_webview_delegate.mm

Issue 558035: [GPU] Get GPU process running on the mac... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/tools/pepper_test_plugin/test_page.html ('k') | webkit/webkit.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/mac/test_webview_delegate.mm
===================================================================
--- webkit/tools/test_shell/mac/test_webview_delegate.mm (revision 37920)
+++ webkit/tools/test_shell/mac/test_webview_delegate.mm (working copy)
@@ -171,7 +171,7 @@
WebWidgetHost *host = GetWidgetHost();
if (!host)
return NULL;
- gfx::NativeView view = host->view_handle();
+ gfx::PluginWindowHandle containing_view = NULL;
bool allow_wildcard = true;
WebPluginInfo info;
@@ -181,9 +181,11 @@
}
if (actual_mime_type && !actual_mime_type->empty())
- return WebPluginDelegateImpl::Create(info.path, *actual_mime_type, view);
+ return WebPluginDelegateImpl::Create(info.path, *actual_mime_type,
+ containing_view);
else
- return WebPluginDelegateImpl::Create(info.path, mime_type, view);
+ return WebPluginDelegateImpl::Create(info.path, mime_type,
+ containing_view);
}
void TestWebViewDelegate::CreatedPluginWindow(
« no previous file with comments | « webkit/tools/pepper_test_plugin/test_page.html ('k') | webkit/webkit.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698