diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-05 21:13:52 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-05 21:13:52 +0000 |
commit | ff672b7b041300c6c7d8c34b441c85a5d45b0eae (patch) | |
tree | 79f3b713fa7cece008d2b8beb939f6405749d8b8 /content/child/resource_dispatcher_unittest.cc | |
parent | 0b2d2702127901eaeb4a949f0b3792974463340f (diff) | |
download | chromium_src-ff672b7b041300c6c7d8c34b441c85a5d45b0eae.zip chromium_src-ff672b7b041300c6c7d8c34b441c85a5d45b0eae.tar.gz chromium_src-ff672b7b041300c6c7d8c34b441c85a5d45b0eae.tar.bz2 |
Deprecate named base::SharedMemory.
It's hardly used and not implemented on various platforms. (More deprecation
work here to come.)
R=brettw@chromium.org
TBR=sky@chromium.org
BUG=345734
Review URL: https://codereview.chromium.org/186473002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255148 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/child/resource_dispatcher_unittest.cc')
-rw-r--r-- | content/child/resource_dispatcher_unittest.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/content/child/resource_dispatcher_unittest.cc b/content/child/resource_dispatcher_unittest.cc index 320564fb..5db4085 100644 --- a/content/child/resource_dispatcher_unittest.cc +++ b/content/child/resource_dispatcher_unittest.cc @@ -307,7 +307,10 @@ class DeferredResourceLoadingTest : public ResourceDispatcherTest, virtual void SetUp() OVERRIDE { ResourceDispatcherTest::SetUp(); shared_handle_.Delete(kShmemSegmentName); - EXPECT_TRUE(shared_handle_.CreateNamed(kShmemSegmentName, false, 100)); + // TODO(viettrungluu): Named shared memory is deprecated (crbug.com/345734). + // (I don't think we even need it here.) + EXPECT_TRUE(shared_handle_.CreateNamedDeprecated(kShmemSegmentName, false, + 100)); } virtual void TearDown() OVERRIDE { |