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

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: Rebased, and added a missing chunk 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 2ae69591541f9dfeb33830484d071399d76cffa1..128a1aeca87f61756025c398f099c18574765316 100644
--- a/content/browser/gpu/gpu_process_host.cc
+++ b/content/browser/gpu/gpu_process_host.cc
@@ -469,6 +469,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