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

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

Issue 916723002: cc: Add threaded GPU rasterization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Implement ContextProviderInProcess::DetachFromThread(). Created 5 years, 10 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 72e89910316edb0998f57fa555c53465215dfa01..aa47e2fd677bad9d115abb27209433292689fe57 100644
--- a/content/common/gpu/client/gpu_channel_host.cc
+++ b/content/common/gpu/client/gpu_channel_host.cc
@@ -112,14 +112,10 @@ bool GpuChannelHost::Send(IPC::Message* msg) {
if (!result)
DVLOG(1) << "GpuChannelHost::Send failed: Channel::Send failed";
return result;
- } else if (base::MessageLoop::current()) {
- bool result = sync_filter_->Send(message.release());
- if (!result)
- DVLOG(1) << "GpuChannelHost::Send failed: SyncMessageFilter::Send failed";
- return result;
}
- return false;
+ bool result = sync_filter_->Send(message.release());
+ return result;
}
void GpuChannelHost::OrderingBarrier(

Powered by Google App Engine
This is Rietveld 408576698