Index: content/plugin/webplugin_proxy.cc |
=================================================================== |
--- content/plugin/webplugin_proxy.cc (revision 105158) |
+++ content/plugin/webplugin_proxy.cc (working copy) |
@@ -672,9 +672,11 @@ |
Send(new PluginHostMsg_BindFakePluginWindowHandle(route_id_, opaque)); |
} |
-WebPluginAcceleratedSurface* WebPluginProxy::GetAcceleratedSurface() { |
+WebPluginAcceleratedSurface* WebPluginProxy::GetAcceleratedSurface( |
+ gfx::GpuPreference gpu_preference) { |
if (!accelerated_surface_.get()) |
- accelerated_surface_.reset(new WebPluginAcceleratedSurfaceProxy(this)); |
+ accelerated_surface_.reset(new WebPluginAcceleratedSurfaceProxy( |
+ this, gpu_preference)); |
return accelerated_surface_.get(); |
} |