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

Unified Diff: chrome/browser/ui/views/location_bar/icon_label_bubble_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/location_bar/icon_label_bubble_view.h
diff --git a/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h b/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h
index ccf44490d3f7724605dd310449134ec4d614b3b1..6b872feb1b2d54b5ec2317bcf333c102efe4268f 100644
--- a/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h
+++ b/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h
@@ -84,7 +84,7 @@ class IconLabelBubbleView : public views::InkDropHostView {
void OnNativeThemeChanged(const ui::NativeTheme* native_theme) override;
void AddInkDropLayer(ui::Layer* ink_drop_layer) override;
void RemoveInkDropLayer(ui::Layer* ink_drop_layer) override;
- scoped_ptr<views::InkDropHover> CreateInkDropHover() const override;
+ std::unique_ptr<views::InkDropHover> CreateInkDropHover() const override;
SkColor GetInkDropBaseColor() const override;
const gfx::FontList& font_list() const { return label_->font_list(); }
@@ -115,7 +115,7 @@ class IconLabelBubbleView : public views::InkDropHostView {
void OnPaint(gfx::Canvas* canvas) override;
// For painting the background. TODO(estade): remove post MD launch.
- scoped_ptr<views::Painter> background_painter_;
+ std::unique_ptr<views::Painter> background_painter_;
// The contents of the bubble.
views::ImageView* image_;

Powered by Google App Engine
This is Rietveld 408576698