Index: components/printing/test/print_mock_render_thread.h |
diff --git a/components/printing/test/print_mock_render_thread.h b/components/printing/test/print_mock_render_thread.h |
index 0f9ec058d736c6051aa7fca4a4c4ed7cbdbc86f0..4c38176bf5b947678c1c64c402302efc80939ed8 100644 |
--- a/components/printing/test/print_mock_render_thread.h |
+++ b/components/printing/test/print_mock_render_thread.h |
@@ -7,6 +7,7 @@ |
#include <stdint.h> |
+#include <memory> |
#include <string> |
#include "base/compiler_specific.h" |
@@ -95,7 +96,7 @@ class PrintMockRenderThread : public content::MockRenderThread { |
bool* canceled); |
// A mock printer device used for printing tests. |
- scoped_ptr<MockPrinter> printer_; |
+ std::unique_ptr<MockPrinter> printer_; |
// True to simulate user clicking print. False to cancel. |
bool print_dialog_user_response_; |