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

Unified Diff: ui/views/examples/vector_example.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/examples/text_example.cc ('k') | ui/views/focus/focus_traversal_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/vector_example.cc
diff --git a/ui/views/examples/vector_example.cc b/ui/views/examples/vector_example.cc
index 9802acffd8257d80b51988abae0cfbe16eb884e3..81a5a0426a941a20f17808d920232cc44b7ebe56 100644
--- a/ui/views/examples/vector_example.cc
+++ b/ui/views/examples/vector_example.cc
@@ -54,8 +54,7 @@ class VectorIconGallery : public View,
image_layout->set_main_axis_alignment(
BoxLayout::MAIN_AXIS_ALIGNMENT_CENTER);
image_view_container_->SetLayoutManager(image_layout);
- image_view_->SetBorder(
- Border::CreateSolidSidedBorder(1, 1, 1, 1, SK_ColorBLACK));
+ image_view_->SetBorder(CreateSolidSidedBorder(1, 1, 1, 1, SK_ColorBLACK));
AddChildView(image_view_container_);
BoxLayout* box = new BoxLayout(BoxLayout::kVertical, 10, 10, 10);
« no previous file with comments | « ui/views/examples/text_example.cc ('k') | ui/views/focus/focus_traversal_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698