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

Unified Diff: ui/views/corewm/tooltip_aura.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
« no previous file with comments | « ui/views/controls/tabbed_pane/tabbed_pane.cc ('k') | ui/views/examples/label_example.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/corewm/tooltip_aura.cc
diff --git a/ui/views/corewm/tooltip_aura.cc b/ui/views/corewm/tooltip_aura.cc
index 3c58d0329d52135a9f1827ab83b2f259904eeebd..256a4fbfebb78e00a78dce44c0024e6939d722ad 100644
--- a/ui/views/corewm/tooltip_aura.cc
+++ b/ui/views/corewm/tooltip_aura.cc
@@ -73,9 +73,8 @@ class TooltipAura::TooltipView : public views::View {
const int kHorizontalPadding = 8;
const int kVerticalPaddingTop = 4;
const int kVerticalPaddingBottom = 5;
- SetBorder(Border::CreateEmptyBorder(kVerticalPaddingTop, kHorizontalPadding,
- kVerticalPaddingBottom,
- kHorizontalPadding));
+ SetBorder(CreateEmptyBorder(kVerticalPaddingTop, kHorizontalPadding,
+ kVerticalPaddingBottom, kHorizontalPadding));
set_owned_by_client();
render_text_->SetWordWrapBehavior(gfx::WRAP_LONG_WORDS);
« no previous file with comments | « ui/views/controls/tabbed_pane/tabbed_pane.cc ('k') | ui/views/examples/label_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698