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

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

Issue 2781293003: gpu: Have GpuService create and own GpuMemoryBufferFactory. (Closed)
Patch Set: tot merge. Created 3 years, 9 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_main_thread_factory.h ('k') | content/common/gpu_host_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9701b02c5a55883f2496129839ce0a818becccd9..b0cdb028243765b4a5b11fe0f02c671d66893bb3 100644
--- a/content/browser/gpu/gpu_process_host.cc
+++ b/content/browser/gpu/gpu_process_host.cc
@@ -606,11 +606,10 @@ bool GpuProcessHost::Init() {
if (in_process_) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
DCHECK(GetGpuMainThreadFactory());
- in_process_gpu_thread_.reset(GetGpuMainThreadFactory()(
- InProcessChildThreadParams(
+ in_process_gpu_thread_.reset(
+ GetGpuMainThreadFactory()(InProcessChildThreadParams(
base::ThreadTaskRunnerHandle::Get(),
- process_->child_connection()->service_token()),
- gpu_preferences));
+ process_->child_connection()->service_token())));
base::Thread::Options options;
#if defined(OS_WIN)
// WGL needs to create its own window and pump messages on it.
« no previous file with comments | « content/browser/gpu/gpu_main_thread_factory.h ('k') | content/common/gpu_host_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698