Index: content/browser/compositor/software_output_device_win.h |
diff --git a/content/browser/compositor/software_output_device_win.h b/content/browser/compositor/software_output_device_win.h |
index 5c80340808c2437442cee1d35b4359b2ab9a1d31..61066ceaa9482344b6c7e0301d97a6d117f6e7c4 100644 |
--- a/content/browser/compositor/software_output_device_win.h |
+++ b/content/browser/compositor/software_output_device_win.h |
@@ -5,13 +5,13 @@ |
#ifndef CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_WIN_H_ |
#define CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_WIN_H_ |
-#include <windows.h> |
#include <stddef.h> |
+#include <windows.h> |
+#include <memory> |
#include <vector> |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "cc/output/software_output_device.h" |
#include "third_party/skia/include/core/SkCanvas.h" |
#include "third_party/skia/include/core/SkRefCnt.h" |
@@ -41,7 +41,7 @@ class OutputDeviceBacking { |
size_t GetMaxByteSize(); |
std::vector<SoftwareOutputDeviceWin*> devices_; |
- scoped_ptr<base::SharedMemory> backing_; |
+ std::unique_ptr<base::SharedMemory> backing_; |
size_t created_byte_size_; |
DISALLOW_COPY_AND_ASSIGN(OutputDeviceBacking); |