summaryrefslogtreecommitdiffstats
path: root/content/gpu
diff options
context:
space:
mode:
authorerikchen <erikchen@chromium.org>2015-09-25 15:34:31 -0700
committerCommit bot <commit-bot@chromium.org>2015-09-25 22:36:18 +0000
commit5ea2ab75db847e7506f4e9e6f6b370f65cc1bb39 (patch)
tree85a7fe3d9c8015204eacc8dbdae039fee4d631e8 /content/gpu
parent997afddb1a38bba06bfd6f048b207434aebc967a (diff)
downloadchromium_src-5ea2ab75db847e7506f4e9e6f6b370f65cc1bb39.zip
chromium_src-5ea2ab75db847e7506f4e9e6f6b370f65cc1bb39.tar.gz
chromium_src-5ea2ab75db847e7506f4e9e6f6b370f65cc1bb39.tar.bz2
Make SharedMemoryHandle a class on windows.
This CL is intended to be a refactor and should not introduce any behavior changes. Previously, SharedMemoryhandle was typedefed to HANDLE. Making it a class allows us to add metainformation about the process in which the HANDLE is valid. This will be used in the future by Chrome's IPC system to automatically duplicate HANDLEs into their destination process. BUG=493414, 535028 Review URL: https://codereview.chromium.org/1320783002 Cr-Commit-Position: refs/heads/master@{#350932}
Diffstat (limited to 'content/gpu')
-rw-r--r--content/gpu/gpu_child_thread.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
index c6c1e31..e40928c 100644
--- a/content/gpu/gpu_child_thread.cc
+++ b/content/gpu/gpu_child_thread.cc
@@ -257,12 +257,12 @@ void GpuChildThread::OnInitialize() {
// Defer creation of the render thread. This is to prevent it from handling
// IPC messages before the sandbox has been enabled and all other necessary
// initialization has succeeded.
- gpu_channel_manager_.reset(new GpuChannelManager(
- channel(), watchdog_thread_.get(),
- base::ThreadTaskRunnerHandle::Get().get(),
- ChildProcess::current()->io_task_runner(),
- ChildProcess::current()->GetShutDownEvent(),
- sync_point_manager_, gpu_memory_buffer_factory_));
+ gpu_channel_manager_.reset(
+ new GpuChannelManager(channel(), watchdog_thread_.get(),
+ base::ThreadTaskRunnerHandle::Get().get(),
+ ChildProcess::current()->io_task_runner(),
+ ChildProcess::current()->GetShutDownEvent(),
+ sync_point_manager_, gpu_memory_buffer_factory_));
#if defined(USE_OZONE)
ui::OzonePlatform::GetInstance()