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

Unified Diff: content/gpu/gpu_child_thread.cc

Issue 974933002: content: Refactor ChildThreadImpl::Options (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build fix. 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/gpu/gpu_child_thread.cc
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
index 1064a70adc111cae2969eafde6b6368b4335d886..d84930cfdb9795c8bf62bc9ed00ddee8b04730e1 100644
--- a/content/gpu/gpu_child_thread.cc
+++ b/content/gpu/gpu_child_thread.cc
@@ -77,7 +77,10 @@ GpuChildThread::GpuChildThread(GpuWatchdogThread* watchdog_thread,
}
GpuChildThread::GpuChildThread(const std::string& channel_id)
- : ChildThreadImpl(Options(channel_id, false)),
+ : ChildThreadImpl(Options::Builder()
+ .InBrowserProcess(true)
+ .WithChannelName(channel_id)
+ .Build()),
dead_on_arrival_(false),
in_browser_process_(true) {
#if defined(OS_WIN)

Powered by Google App Engine
This is Rietveld 408576698