Index: content/browser/wake_lock/wake_lock_service_context.h |
diff --git a/content/browser/wake_lock/wake_lock_service_context.h b/content/browser/wake_lock/wake_lock_service_context.h |
index 73527dc28209e1598a2201fe47bd991868d879ec..f27461c17413f9de11e000b4079b0398e0516f04 100644 |
--- a/content/browser/wake_lock/wake_lock_service_context.h |
+++ b/content/browser/wake_lock/wake_lock_service_context.h |
@@ -5,11 +5,11 @@ |
#ifndef CONTENT_BROWSER_WAKE_LOCK_WAKE_LOCK_SERVICE_CONTEXT_H_ |
#define CONTENT_BROWSER_WAKE_LOCK_WAKE_LOCK_SERVICE_CONTEXT_H_ |
+#include <memory> |
#include <set> |
#include <utility> |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/memory/weak_ptr.h" |
#include "content/browser/wake_lock/wake_lock_service_impl.h" |
#include "content/common/content_export.h" |
@@ -56,7 +56,7 @@ class CONTENT_EXPORT WakeLockServiceContext : public WebContentsObserver { |
std::set<std::pair<int, int>> frames_requesting_lock_; |
// The actual power save blocker for screen. |
- scoped_ptr<PowerSaveBlocker> wake_lock_; |
+ std::unique_ptr<PowerSaveBlocker> wake_lock_; |
base::WeakPtrFactory<WakeLockServiceContext> weak_factory_; |