diff options
author | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-27 18:16:06 +0000 |
---|---|---|
committer | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-27 18:16:06 +0000 |
commit | 54e3dfa2e76af401751b676e6fa150499734e9e6 (patch) | |
tree | 9b0487732aeaaa36491be79936aa044b47ab8b49 /chrome/renderer/gpu_video_decoder_host_unittest.cc | |
parent | 71572873eb78084971b4d1bdd6560f876dc2fada (diff) | |
download | chromium_src-54e3dfa2e76af401751b676e6fa150499734e9e6.zip chromium_src-54e3dfa2e76af401751b676e6fa150499734e9e6.tar.gz chromium_src-54e3dfa2e76af401751b676e6fa150499734e9e6.tar.bz2 |
Fix up SharedMemory implementation so that it is more equivalent on Windows vs Posix and enforces exclusive creates.
Clean up some naming to make it clearer what size you are getting by changing max_size to created_size.
BUG=NONE
TEST=BUILD
Review URL: http://codereview.chromium.org/4034006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64097 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/gpu_video_decoder_host_unittest.cc')
-rw-r--r-- | chrome/renderer/gpu_video_decoder_host_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/gpu_video_decoder_host_unittest.cc b/chrome/renderer/gpu_video_decoder_host_unittest.cc index 90c1f4b..52337e5 100644 --- a/chrome/renderer/gpu_video_decoder_host_unittest.cc +++ b/chrome/renderer/gpu_video_decoder_host_unittest.cc @@ -109,7 +109,7 @@ class GpuVideoDecoderHostTest : public testing::Test, new GpuVideoDecoderHost(&router_, this, kContextRouteId, kDecoderHostId)); shared_memory_.reset(new base::SharedMemory()); - shared_memory_->Create("", false, false, kTransportBufferSize); + shared_memory_->CreateAnonymous(kTransportBufferSize); GpuVideoDecoderHostMsg_CreateVideoDecoderDone msg1(kDecoderHostId, kDecoderId); |