Index: content/browser/gpu/gpu_process_host.cc |
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc |
index 02e3c8fa0e405088d60b4565a911c6f80167790c..5f6de283915d06fe2a0a11abff90f757f8688188 100644 |
--- a/content/browser/gpu/gpu_process_host.cc |
+++ b/content/browser/gpu/gpu_process_host.cc |
@@ -800,6 +800,13 @@ void GpuProcessHost::OnAcceleratedSurfaceBuffersSwapped( |
"GpuHostMsg_AcceleratedSurfaceBuffersSwapped")) |
return; |
+ gfx::AcceleratedWidget native_widget = |
+ GpuSurfaceTracker::Get()->AcquireNativeWidget(params.surface_id); |
+ if (native_widget) { |
+ RenderWidgetHelper::OnNativeSurfaceBuffersSwapped(params); |
ccameron
2014/05/06 00:20:32
We may want to move this to a place higher up in t
piman
2014/05/06 00:59:01
Definitely not for this patch, but I'm hoping we c
|
+ return; |
+ } |
+ |
gfx::GLSurfaceHandle surface_handle = |
GpuSurfaceTracker::Get()->GetSurfaceHandle(params.surface_id); |
// Compositor window is always gfx::kNullPluginWindow. |