| Index: content/gpu/in_process_gpu_thread.cc
|
| diff --git a/content/gpu/in_process_gpu_thread.cc b/content/gpu/in_process_gpu_thread.cc
|
| index 8a7818d6e195fd229b4d908ccdcf614f8aba55f5..dfd9d358e5fe7575dc60b8079dcd66e54d5113eb 100644
|
| --- a/content/gpu/in_process_gpu_thread.cc
|
| +++ b/content/gpu/in_process_gpu_thread.cc
|
| @@ -9,9 +9,9 @@
|
|
|
| namespace content {
|
|
|
| -InProcessGpuThread::InProcessGpuThread(const std::string& channel_id)
|
| +InProcessGpuThread::InProcessGpuThread(const InProcessChildThreadParams& params)
|
| : base::Thread("Chrome_InProcGpuThread"),
|
| - channel_id_(channel_id),
|
| + params_(params),
|
| gpu_process_(NULL) {
|
| }
|
|
|
| @@ -23,7 +23,7 @@ void InProcessGpuThread::Init() {
|
| gpu_process_ = new GpuProcess();
|
| // The process object takes ownership of the thread object, so do not
|
| // save and delete the pointer.
|
| - gpu_process_->set_main_thread(new GpuChildThread(channel_id_));
|
| + gpu_process_->set_main_thread(new GpuChildThread(params_));
|
| }
|
|
|
| void InProcessGpuThread::CleanUp() {
|
| @@ -31,8 +31,9 @@ void InProcessGpuThread::CleanUp() {
|
| delete gpu_process_;
|
| }
|
|
|
| -base::Thread* CreateInProcessGpuThread(const std::string& channel_id) {
|
| - return new InProcessGpuThread(channel_id);
|
| +base::Thread* CreateInProcessGpuThread(
|
| + const InProcessChildThreadParams& params) {
|
| + return new InProcessGpuThread(params);
|
| }
|
|
|
| } // namespace content
|
|
|