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

Unified Diff: ash/common/system/chromeos/session/logout_button_tray.cc

Issue 2313253003: Rename views::MdTextButton::CreateMdButton to just Create (Closed)
Patch Set: more renames Created 4 years, 3 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
« no previous file with comments | « no previous file | ash/shell/lock_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/session/logout_button_tray.cc
diff --git a/ash/common/system/chromeos/session/logout_button_tray.cc b/ash/common/system/chromeos/session/logout_button_tray.cc
index 785b9056879b141bc99e0d9735b1b2bbe5eaae18..7ea6c35a292f8bb5fe7135d00f8a53a827df6351 100644
--- a/ash/common/system/chromeos/session/logout_button_tray.cc
+++ b/ash/common/system/chromeos/session/logout_button_tray.cc
@@ -107,7 +107,7 @@ LogoutButtonTray::LogoutButtonTray(WmShelf* wm_shelf)
show_logout_button_in_tray_(false) {
if (MaterialDesignController::IsShelfMaterial()) {
views::MdTextButton* button =
- views::MdTextButton::CreateMdButton(this, base::string16());
+ views::MdTextButton::Create(this, base::string16());
button->SetCallToAction(true);
button->set_bg_color_override(gfx::kGoogleRed700);
// Base font size + 2 = 14.
« no previous file with comments | « no previous file | ash/shell/lock_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698