Index: webrtc/modules/desktop_capture/differ.h |
diff --git a/webrtc/modules/desktop_capture/differ.h b/webrtc/modules/desktop_capture/differ.h |
index b3b0e7c244f410f295e59cbcda0618fa0127106e..c3dcd4b0e1d2211558d29f93dd4bb51ec2364568 100644 |
--- a/webrtc/modules/desktop_capture/differ.h |
+++ b/webrtc/modules/desktop_capture/differ.h |
@@ -11,9 +11,9 @@ |
#ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_DIFFER_H_ |
#define WEBRTC_MODULES_DESKTOP_CAPTURE_DIFFER_H_ |
+#include <memory> |
#include <vector> |
-#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/modules/desktop_capture/desktop_region.h" |
namespace webrtc { |
@@ -74,7 +74,7 @@ class Differ { |
int bytes_per_row_; |
// Diff information for each block in the image. |
- rtc::scoped_ptr<bool[]> diff_info_; |
+ std::unique_ptr<bool[]> diff_info_; |
// Dimensions and total size of diff info array. |
int diff_info_width_; |