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

Unified Diff: chrome/browser/ui/views/autofill/tooltip_icon.h

Issue 1865213004: Convert //chrome/browser/ui 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/ui/views/autofill/tooltip_icon.h
diff --git a/chrome/browser/ui/views/autofill/tooltip_icon.h b/chrome/browser/ui/views/autofill/tooltip_icon.h
index cd39fd408cc4384477b624cd9db7412e36580b03..9e6f16538192da3fa3e0d9c263a9cdc2fccc5bc3 100644
--- a/chrome/browser/ui/views/autofill/tooltip_icon.h
+++ b/chrome/browser/ui/views/autofill/tooltip_icon.h
@@ -5,9 +5,10 @@
#ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_TOOLTIP_ICON_H_
#define CHROME_BROWSER_UI_VIEWS_AUTOFILL_TOOLTIP_ICON_H_
+#include <memory>
+
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/scoped_observer.h"
#include "base/strings/string16.h"
#include "base/timer/timer.h"
@@ -74,7 +75,7 @@ class TooltipIcon : public views::ImageView,
base::OneShotTimer show_timer_;
// A watcher that keeps |bubble_| open if the user's mouse enters it.
- scoped_ptr<views::MouseWatcher> mouse_watcher_;
+ std::unique_ptr<views::MouseWatcher> mouse_watcher_;
ScopedObserver<views::Widget, TooltipIcon> observer_;
« no previous file with comments | « chrome/browser/ui/views/autofill/save_card_bubble_views.cc ('k') | chrome/browser/ui/views/autofill/tooltip_icon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698