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

Unified Diff: ash/common/system/chromeos/audio/audio_detailed_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
« no previous file with comments | « ash/common/system/audio/volume_view.cc ('k') | ash/common/system/chromeos/brightness/tray_brightness.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/audio/audio_detailed_view.cc
diff --git a/ash/common/system/chromeos/audio/audio_detailed_view.cc b/ash/common/system/chromeos/audio/audio_detailed_view.cc
index 85858b90236403b5f6246bea1603fc90a99769d7..4b362e2d54e35c8e0c2d14f0037d8f47b864daf4 100644
--- a/ash/common/system/chromeos/audio/audio_detailed_view.cc
+++ b/ash/common/system/chromeos/audio/audio_detailed_view.cc
@@ -79,7 +79,7 @@ void AudioDetailedView::AddScrollListInfoItem(const base::string16& text) {
else
left_margin = margin;
- label->SetBorder(views::Border::CreateEmptyBorder(
+ label->SetBorder(views::CreateEmptyBorder(
ash::kTrayPopupPaddingBetweenItems, left_margin,
ash::kTrayPopupPaddingBetweenItems, right_margin));
label->SetHorizontalAlignment(gfx::ALIGN_LEFT);
« no previous file with comments | « ash/common/system/audio/volume_view.cc ('k') | ash/common/system/chromeos/brightness/tray_brightness.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698