Index: components/resource_provider/resource_provider_test_app.cc |
diff --git a/components/resource_provider/resource_provider_test_app.cc b/components/resource_provider/resource_provider_test_app.cc |
index 8cab63f8abddcaee584e1cd3de0407a6a80ca373..cab29deee038da54c055aff27b75b19400bf0909 100644 |
--- a/components/resource_provider/resource_provider_test_app.cc |
+++ b/components/resource_provider/resource_provider_test_app.cc |
@@ -23,7 +23,7 @@ namespace test { |
std::string ReadFile(base::File* file) { |
const size_t kBufferSize = 1 << 16; |
- scoped_ptr<char[]> buffer(new char[kBufferSize]); |
+ std::unique_ptr<char[]> buffer(new char[kBufferSize]); |
const int read = file->ReadAtCurrentPos(buffer.get(), kBufferSize); |
if (read == -1) |
return std::string(); |
@@ -108,7 +108,7 @@ class TestApp : public shell::ShellClient, |
} |
private: |
- scoped_ptr<Test> test_; |
+ std::unique_ptr<Test> test_; |
mojo::BindingSet<test::mojom::Test> bindings_; |
DISALLOW_COPY_AND_ASSIGN(TestApp); |