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

Unified Diff: chrome/browser/ui/views/infobars/infobar_view.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/infobars/infobar_view.h
diff --git a/chrome/browser/ui/views/infobars/infobar_view.h b/chrome/browser/ui/views/infobars/infobar_view.h
index c54108ce2902d01e700b92a89127a6ec6f7cb174..281899aae32e08b5c5c4a850c32b176961914c80 100644
--- a/chrome/browser/ui/views/infobars/infobar_view.h
+++ b/chrome/browser/ui/views/infobars/infobar_view.h
@@ -37,7 +37,7 @@ class InfoBarView : public infobars::InfoBar,
public views::ExternalFocusTracker,
public views::ViewTargeterDelegate {
public:
- explicit InfoBarView(scoped_ptr<infobars::InfoBarDelegate> delegate);
+ explicit InfoBarView(std::unique_ptr<infobars::InfoBarDelegate> delegate);
const infobars::InfoBarContainer::Delegate* container_delegate() const;
const SkPath& fill_path() const { return fill_path_; }
@@ -149,7 +149,7 @@ class InfoBarView : public infobars::InfoBar,
SkPath stroke_path_;
// Used to run the menu.
- scoped_ptr<views::MenuRunner> menu_runner_;
+ std::unique_ptr<views::MenuRunner> menu_runner_;
DISALLOW_COPY_AND_ASSIGN(InfoBarView);
};
« no previous file with comments | « chrome/browser/ui/views/infobars/confirm_infobar.cc ('k') | chrome/browser/ui/views/infobars/infobar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698