| Index: content/browser/cache_storage/cache_storage_cache_unittest.cc
|
| diff --git a/content/browser/cache_storage/cache_storage_cache_unittest.cc b/content/browser/cache_storage/cache_storage_cache_unittest.cc
|
| index f250b236634e13beb41cd36354a832392afff198..88363a7c4d910dc55512b8ad02fd2a51723b6de4 100644
|
| --- a/content/browser/cache_storage/cache_storage_cache_unittest.cc
|
| +++ b/content/browser/cache_storage/cache_storage_cache_unittest.cc
|
| @@ -7,6 +7,7 @@
|
| #include "base/files/file_path.h"
|
| #include "base/files/scoped_temp_dir.h"
|
| #include "base/memory/ref_counted.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| #include "base/run_loop.h"
|
| #include "base/strings/string_split.h"
|
| #include "base/thread_task_runner_handle.h"
|
| @@ -38,12 +39,12 @@ const char kTestData[] = "Hello World";
|
|
|
| // Returns a BlobProtocolHandler that uses |blob_storage_context|. Caller owns
|
| // the memory.
|
| -storage::BlobProtocolHandler* CreateMockBlobProtocolHandler(
|
| +scoped_ptr<storage::BlobProtocolHandler> CreateMockBlobProtocolHandler(
|
| storage::BlobStorageContext* blob_storage_context) {
|
| // The FileSystemContext and thread task runner are not actually used but a
|
| // task runner is needed to avoid a DCHECK in BlobURLRequestJob ctor.
|
| - return new storage::BlobProtocolHandler(
|
| - blob_storage_context, NULL, base::ThreadTaskRunnerHandle::Get().get());
|
| + return make_scoped_ptr(new storage::BlobProtocolHandler(
|
| + blob_storage_context, NULL, base::ThreadTaskRunnerHandle::Get().get()));
|
| }
|
|
|
| // A disk_cache::Backend wrapper that can delay operations.
|
|
|