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

Unified Diff: chrome/browser/ui/views/download/download_item_view_md.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 | « ash/shell/window_type_launcher.cc ('k') | chrome/browser/ui/views/download/download_shelf_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/download/download_item_view_md.cc
diff --git a/chrome/browser/ui/views/download/download_item_view_md.cc b/chrome/browser/ui/views/download/download_item_view_md.cc
index aff9887e0e01f12dd2b2590b65063beb31c17e7f..1371a2ffab22d79897cce806a8226d0ea1ac85c7 100644
--- a/chrome/browser/ui/views/download/download_item_view_md.cc
+++ b/chrome/browser/ui/views/download/download_item_view_md.cc
@@ -956,11 +956,11 @@ void DownloadItemViewMd::ShowWarningDialog() {
dropdown_state_ = NORMAL;
if (mode_ == DANGEROUS_MODE) {
- save_button_ = views::MdTextButton::CreateMdButton(
- this, model_.GetWarningConfirmButtonText());
+ save_button_ =
+ views::MdTextButton::Create(this, model_.GetWarningConfirmButtonText());
AddChildView(save_button_);
}
- discard_button_ = views::MdTextButton::CreateMdButton(
+ discard_button_ = views::MdTextButton::Create(
this, l10n_util::GetStringUTF16(IDS_DISCARD_DOWNLOAD));
AddChildView(discard_button_);
« no previous file with comments | « ash/shell/window_type_launcher.cc ('k') | chrome/browser/ui/views/download/download_shelf_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698