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

Unified Diff: content/common/gpu/client/gpu_channel_host.cc

Issue 324143002: Decouple IPC::MessageFilter from IPC::Channel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing compilation errors Created 6 years, 6 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/common/gpu/client/gpu_channel_host.cc
diff --git a/content/common/gpu/client/gpu_channel_host.cc b/content/common/gpu/client/gpu_channel_host.cc
index dc1a3ce23a4af0c1583d8d9754829e4ab0970d7a..b58d16c1310bfa74e868848100e2bf6ad4167fe4 100644
--- a/content/common/gpu/client/gpu_channel_host.cc
+++ b/content/common/gpu/client/gpu_channel_host.cc
@@ -154,7 +154,7 @@ CommandBufferProxyImpl* GpuChannelHost::CreateViewCommandBuffer(
scoped_refptr<base::MessageLoopProxy> io_loop = factory_->GetIOLoopProxy();
io_loop->PostTask(FROM_HERE,
- base::Bind(&GpuChannelHost::MessageFilter::OnChannelError,
+ base::Bind(&GpuChannelHost::MessageFilter::OnSenderError,
channel_filter_.get()));
return NULL;
@@ -368,7 +368,7 @@ bool GpuChannelHost::MessageFilter::OnMessageReceived(
return true;
}
-void GpuChannelHost::MessageFilter::OnChannelError() {
+void GpuChannelHost::MessageFilter::OnSenderError() {
// Set the lost state before signalling the proxies. That way, if they
// themselves post a task to recreate the context, they will not try to re-use
// this channel host.

Powered by Google App Engine
This is Rietveld 408576698