Index: content/browser/renderer_host/render_widget_host_view_aura.cc |
=================================================================== |
--- content/browser/renderer_host/render_widget_host_view_aura.cc (revision 151158) |
+++ content/browser/renderer_host/render_widget_host_view_aura.cc (working copy) |
@@ -776,7 +776,8 @@ |
uint64 surface_handle) { |
ImageTransportFactory* factory = ImageTransportFactory::GetInstance(); |
scoped_refptr<ui::Texture> surface(factory->CreateTransportClient( |
- gfx::Size(width_in_pixel, height_in_pixel), surface_handle)); |
+ gfx::Size(width_in_pixel, height_in_pixel), surface_handle, |
+ GetCompositor())); |
if (!surface) { |
LOG(ERROR) << "Failed to create ImageTransport texture"; |
return; |