| Index: content/common/gpu/media/video_decode_accelerator_unittest.cc
|
| diff --git a/content/common/gpu/media/video_decode_accelerator_unittest.cc b/content/common/gpu/media/video_decode_accelerator_unittest.cc
|
| index 811ffe2467cb294a5f1bdba8d574ed091507dc61..8b89d049b9339115a642f008e93f3796be83eb12 100644
|
| --- a/content/common/gpu/media/video_decode_accelerator_unittest.cc
|
| +++ b/content/common/gpu/media/video_decode_accelerator_unittest.cc
|
| @@ -35,7 +35,7 @@
|
| #include "base/format_macros.h"
|
| #include "base/md5.h"
|
| #include "base/message_loop/message_loop_proxy.h"
|
| -#include "base/process/process.h"
|
| +#include "base/process/process_handle.h"
|
| #include "base/stl_util.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/string_split.h"
|
| @@ -778,7 +778,7 @@ void GLRenderingVDAClient::DecodeNextFragment() {
|
| CHECK(shm.CreateAndMapAnonymous(next_fragment_size));
|
| memcpy(shm.memory(), next_fragment_bytes.data(), next_fragment_size);
|
| base::SharedMemoryHandle dup_handle;
|
| - CHECK(shm.ShareToProcess(base::Process::Current().handle(), &dup_handle));
|
| + CHECK(shm.ShareToProcess(base::GetCurrentProcessHandle(), &dup_handle));
|
| media::BitstreamBuffer bitstream_buffer(
|
| next_bitstream_buffer_id_, dup_handle, next_fragment_size);
|
| decode_start_time_[next_bitstream_buffer_id_] = base::TimeTicks::Now();
|
|
|