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

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

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
« no previous file with comments | « chrome/browser/ui/views/autofill/tooltip_icon.h ('k') | chrome/browser/ui/views/bar_control_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/autofill/tooltip_icon.cc
diff --git a/chrome/browser/ui/views/autofill/tooltip_icon.cc b/chrome/browser/ui/views/autofill/tooltip_icon.cc
index 3745b0fcbc687b60134a284f61770a0433f2d6ea..d5a6640f0e36d753b20452cbdb44e60a4b08df4b 100644
--- a/chrome/browser/ui/views/autofill/tooltip_icon.cc
+++ b/chrome/browser/ui/views/autofill/tooltip_icon.cc
@@ -125,7 +125,7 @@ void TooltipIcon::ShowBubble() {
if (mouse_inside_) {
views::View* frame = bubble_->GetWidget()->non_client_view()->frame_view();
- scoped_ptr<views::MouseWatcherHost> host(
+ std::unique_ptr<views::MouseWatcherHost> host(
new views::MouseWatcherViewHost(frame, gfx::Insets()));
mouse_watcher_.reset(new views::MouseWatcher(host.release(), this));
mouse_watcher_->Start();
« no previous file with comments | « chrome/browser/ui/views/autofill/tooltip_icon.h ('k') | chrome/browser/ui/views/bar_control_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698