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

Unified Diff: content/browser/renderer_host/gpu_message_filter.cc

Issue 1575293002: Allow GPU channels to be created when using SwiftShader (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass correct GPUInfo Created 4 years, 11 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
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/gpu_message_filter.cc
diff --git a/content/browser/renderer_host/gpu_message_filter.cc b/content/browser/renderer_host/gpu_message_filter.cc
index c381a1539781c9a79cbf5ba3d7b2e7bd9936d57d..73f4077ead7c239b99db54d6312cdc061d155e05 100644
--- a/content/browser/renderer_host/gpu_message_filter.cc
+++ b/content/browser/renderer_host/gpu_message_filter.cc
@@ -44,12 +44,6 @@ void GpuMessageFilter::OnEstablishGpuChannel(
IPC::Message* reply_ptr) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
scoped_ptr<IPC::Message> reply(reply_ptr);
- if (!GpuDataManagerImpl::GetInstance()->CanUseGpuBrowserCompositor()) {
- reply->set_reply_error();
- Send(reply.release());
- return;
- }
-
GpuProcessHost* host = GpuProcessHost::FromID(gpu_process_id_);
if (!host) {
host = GpuProcessHost::Get(GpuProcessHost::GPU_PROCESS_KIND_SANDBOXED,
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698