Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(628)

Unified Diff: content/browser/gpu/gpu_process_host.cc

Issue 11195011: Send vsync timebase updates to the browser compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use the existing output surface mechanism to feed vsync info into the compositor Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 d03bb4a6ca3cfd573cc093c55cd227eeb46f6621..dfb12773ecb2c470b2e057472618987575ab712d 100644
--- a/content/browser/gpu/gpu_process_host.cc
+++ b/content/browser/gpu/gpu_process_host.cc
@@ -474,6 +474,11 @@ bool GpuProcessHost::Send(IPC::Message* msg) {
return result;
}
+void GpuProcessHost::AddFilter(IPC::ChannelProxy::MessageFilter* filter) {
+ DCHECK(CalledOnValidThread());
+ process_->GetHost()->AddFilter(filter);
+}
+
bool GpuProcessHost::OnMessageReceived(const IPC::Message& message) {
DCHECK(CalledOnValidThread());
IPC_BEGIN_MESSAGE_MAP(GpuProcessHost, message)

Powered by Google App Engine
This is Rietveld 408576698