diff options
Diffstat (limited to 'content/browser/renderer_host/render_process_host_impl.cc')
-rw-r--r-- | content/browser/renderer_host/render_process_host_impl.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc index e13ef7d..17444b3 100644 --- a/content/browser/renderer_host/render_process_host_impl.cc +++ b/content/browser/renderer_host/render_process_host_impl.cc @@ -1493,6 +1493,15 @@ base::TimeDelta RenderProcessHostImpl::GetChildProcessIdleTime() const { return base::TimeTicks::Now() - child_process_activity_time_; } +void RenderProcessHostImpl::SurfaceUpdated(int32 surface_id) { + if (!gpu_message_filter_) + return; + BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind( + &GpuMessageFilter::SurfaceUpdated, + gpu_message_filter_, + surface_id)); +} + void RenderProcessHostImpl::ResumeRequestsForView(int route_id) { widget_helper_->ResumeRequestsForView(route_id); } |