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

Unified Diff: chrome/browser/chromeos/input_method/mode_indicator_controller.h

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
Index: chrome/browser/chromeos/input_method/mode_indicator_controller.h
diff --git a/chrome/browser/chromeos/input_method/mode_indicator_controller.h b/chrome/browser/chromeos/input_method/mode_indicator_controller.h
index 4a5f2a9f214e75f362ae36964b2750f53c17bf8b..e1caf977842bdd584408059311067e62d120713b 100644
--- a/chrome/browser/chromeos/input_method/mode_indicator_controller.h
+++ b/chrome/browser/chromeos/input_method/mode_indicator_controller.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MODE_INDICATOR_CONTROLLER_H_
#define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MODE_INDICATOR_CONTROLLER_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/base/ime/chromeos/input_method_manager.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/views/widget/widget_observer.h"
@@ -65,7 +66,7 @@ class ModeIndicatorController
// Observer of the widgets created by BubbleDelegateView. This is used to
// close the previous widget when a new widget is created.
- scoped_ptr<ModeIndicatorObserverInterface> mi_observer_;
+ std::unique_ptr<ModeIndicatorObserverInterface> mi_observer_;
DISALLOW_COPY_AND_ASSIGN(ModeIndicatorController);
};

Powered by Google App Engine
This is Rietveld 408576698