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

Unified Diff: chrome/browser/ui/views/tabs/alert_indicator_button.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
Index: chrome/browser/ui/views/tabs/alert_indicator_button.cc
diff --git a/chrome/browser/ui/views/tabs/alert_indicator_button.cc b/chrome/browser/ui/views/tabs/alert_indicator_button.cc
index 4decc50e2831c3d8af3324454fab97284180fcb5..e29817529e03fa91db016ee9abd0276fc34acd0a 100644
--- a/chrome/browser/ui/views/tabs/alert_indicator_button.cc
+++ b/chrome/browser/ui/views/tabs/alert_indicator_button.cc
@@ -69,7 +69,7 @@ AlertIndicatorButton::AlertIndicatorButton(Tab* parent_tab)
showing_alert_state_(TabAlertState::NONE) {
DCHECK(parent_tab_);
SetEventTargeter(
- scoped_ptr<views::ViewTargeter>(new views::ViewTargeter(this)));
+ std::unique_ptr<views::ViewTargeter>(new views::ViewTargeter(this)));
}
AlertIndicatorButton::~AlertIndicatorButton() {}
« no previous file with comments | « chrome/browser/ui/views/tabs/alert_indicator_button.h ('k') | chrome/browser/ui/views/tabs/alert_indicator_button_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698