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

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc

Issue 2480813003: Reduce views::Border creation verbosity by promoting factory functions (Closed)
Patch Set: fix bad merge Created 4 years, 1 month 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/bookmarks/bookmark_bar_view.cc
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
index a7a869c916791afee8edbd84727a692e96ca2f6a..877e73bd1b05f7847e8e792934e641e602b65bb8 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
@@ -1595,8 +1595,8 @@ void BookmarkBarView::Init() {
UpdateBookmarksSeparatorVisibility();
instructions_ = new BookmarkBarInstructionsView(this);
- instructions_->SetBorder(views::Border::CreateEmptyBorder(
- kButtonPaddingVertical, 0, kButtonPaddingVertical, 0));
+ instructions_->SetBorder(views::CreateEmptyBorder(kButtonPaddingVertical, 0,
+ kButtonPaddingVertical, 0));
AddChildView(instructions_);
set_context_menu_controller(this);
« no previous file with comments | « chrome/browser/ui/views/autofill/save_card_bubble_views.cc ('k') | chrome/browser/ui/views/collected_cookies_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698