Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(466)

Unified Diff: ui/aura/input_state_lookup.h

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/gestures/gesture_recognizer_unittest.cc ('k') | ui/aura/input_state_lookup.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/input_state_lookup.h
diff --git a/ui/aura/input_state_lookup.h b/ui/aura/input_state_lookup.h
index 4c2b424e40432ada0bab1a0d5498958efaa86ffb..822d0b98b3ef1b9a0346e11aa7c7569b59845ecf 100644
--- a/ui/aura/input_state_lookup.h
+++ b/ui/aura/input_state_lookup.h
@@ -5,7 +5,8 @@
#ifndef UI_AURA_INPUT_STATE_LOOKUP_H_
#define UI_AURA_INPUT_STATE_LOOKUP_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "ui/aura/aura_export.h"
namespace aura {
@@ -16,7 +17,7 @@ class AURA_EXPORT InputStateLookup {
virtual ~InputStateLookup() {}
// Creates the platform specific InputStateLookup. May return NULL.
- static scoped_ptr<InputStateLookup> Create();
+ static std::unique_ptr<InputStateLookup> Create();
// Returns true if any mouse button is down.
virtual bool IsMouseButtonDown() const = 0;
« no previous file with comments | « ui/aura/gestures/gesture_recognizer_unittest.cc ('k') | ui/aura/input_state_lookup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698