Index: chrome/browser/chromeos/options/network_config_view.cc |
diff --git a/chrome/browser/chromeos/options/network_config_view.cc b/chrome/browser/chromeos/options/network_config_view.cc |
index 3381dabba663889496a079e7ad7b577827c73d95..bb3b05bd6314ad222f56a0e17ac4293759bba2b6 100644 |
--- a/chrome/browser/chromeos/options/network_config_view.cc |
+++ b/chrome/browser/chromeos/options/network_config_view.cc |
@@ -33,7 +33,7 @@ |
#include "ui/base/resource/resource_bundle.h" |
#include "ui/gfx/geometry/rect.h" |
#include "ui/gfx/image/image.h" |
-#include "ui/views/controls/button/label_button.h" |
+#include "ui/views/controls/button/md_text_button.h" |
#include "ui/views/controls/image_view.h" |
#include "ui/views/layout/layout_constants.h" |
#include "ui/views/widget/widget.h" |
@@ -102,9 +102,9 @@ bool NetworkConfigView::InitWithType(const std::string& type) { |
child_config_view_ = new WifiConfigView(this, |
"" /* service_path */, |
false /* show_8021x */); |
- advanced_button_ = new views::LabelButton(this, l10n_util::GetStringUTF16( |
- IDS_OPTIONS_SETTINGS_INTERNET_OPTIONS_ADVANCED_BUTTON)); |
- advanced_button_->SetStyle(views::Button::STYLE_BUTTON); |
+ advanced_button_ = views::MdTextButton::CreateSecondaryUiButton( |
+ this, l10n_util::GetStringUTF16( |
+ IDS_OPTIONS_SETTINGS_INTERNET_OPTIONS_ADVANCED_BUTTON)); |
} else if (type == shill::kTypeVPN) { |
child_config_view_ = new VPNConfigView(this, |
"" /* service_path */); |