Index: content/browser/gpu/gpu_process_host_ui_shim.cc |
diff --git a/content/browser/gpu/gpu_process_host_ui_shim.cc b/content/browser/gpu/gpu_process_host_ui_shim.cc |
index 50810427388dac99dbd97ff15bae1dde8be324a9..8bc0d47a118610b4583c3868a1997dff46ee0774 100644 |
--- a/content/browser/gpu/gpu_process_host_ui_shim.cc |
+++ b/content/browser/gpu/gpu_process_host_ui_shim.cc |
@@ -178,6 +178,14 @@ void GpuProcessHostUIShim::SimulateHang() { |
Send(new GpuMsg_Hang()); |
} |
+#if defined(TOOLKIT_GTK) |
+void GpuProcessHostUIShim::AcceleratedCompositingStateChange( |
+ int32 surface_id, bool compositing_active) { |
+ Send(new GpuMsg_AcceleratedCompositingStateChange( |
+ surface_id, compositing_active)); |
+} |
+#endif |
+ |
GpuProcessHostUIShim::~GpuProcessHostUIShim() { |
DCHECK(CalledOnValidThread()); |
g_hosts_by_id.Pointer()->Remove(host_id_); |