| Index: content/child/resource_dispatcher_unittest.cc
|
| diff --git a/content/child/resource_dispatcher_unittest.cc b/content/child/resource_dispatcher_unittest.cc
|
| index c32bf8fef4c988af6d9a953612fa50207581e5ac..da0ef2a5d90d21374b0a37ffcdf0a40a55c48d92 100644
|
| --- a/content/child/resource_dispatcher_unittest.cc
|
| +++ b/content/child/resource_dispatcher_unittest.cc
|
| @@ -33,8 +33,6 @@ static const char test_page_contents[] =
|
| "<html><head><title>Google</title></head><body><h1>Google</h1></body></html>";
|
| static const uint32 test_page_contents_len = arraysize(test_page_contents) - 1;
|
|
|
| -static const char kShmemSegmentName[] = "DeferredResourceLoaderTest";
|
| -
|
| // Listens for request response data and stores it so that it can be compared
|
| // to the reference data.
|
| class TestRequestCallback : public ResourceLoaderBridge::Peer {
|
| @@ -308,16 +306,11 @@ class DeferredResourceLoadingTest : public ResourceDispatcherTest,
|
| protected:
|
| virtual void SetUp() OVERRIDE {
|
| ResourceDispatcherTest::SetUp();
|
| - shared_handle_.Delete(kShmemSegmentName);
|
| - // 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));
|
| + EXPECT_TRUE(shared_handle_.CreateAnonymous(100));
|
| }
|
|
|
| virtual void TearDown() OVERRIDE {
|
| shared_handle_.Close();
|
| - EXPECT_TRUE(shared_handle_.Delete(kShmemSegmentName));
|
| ResourceDispatcherTest::TearDown();
|
| }
|
|
|
|
|