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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.h

Issue 2442953002: Remove stl_util's deletion function use from chrome/. (Closed)
Patch Set: fix Created 4 years, 2 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/location_bar_view.h
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.h b/chrome/browser/ui/views/location_bar/location_bar_view.h
index 5adfd2da80fde9876a7037fd11b58734723296d2..1f680b750a3e69f67d1c4c31bf17137c8530cba0 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -258,12 +258,12 @@ class LocationBarView : public LocationBar,
void OnDefaultZoomLevelChanged() override;
private:
- typedef std::vector<ContentSettingImageView*> ContentSettingViews;
+ using ContentSettingViews = std::vector<ContentSettingImageView*>;
friend class PageActionImageView;
friend class PageActionWithBadgeView;
- typedef std::vector<ExtensionAction*> PageActions;
- typedef std::vector<PageActionWithBadgeView*> PageActionViews;
+ using PageActions = std::vector<ExtensionAction*>;
+ using PageActionViews = std::vector<std::unique_ptr<PageActionWithBadgeView>>;
// Helper for GetMinimumWidth(). Calculates the incremental minimum width
// |view| should add to the trailing width after the omnibox.

Powered by Google App Engine
This is Rietveld 408576698