Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/audits2/Audits2Panel.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/audits2/Audits2Panel.js b/third_party/WebKit/Source/devtools/front_end/audits2/Audits2Panel.js |
| index 69ad4d82c7329288beb694f19dccfcf22f539465..573de5703a3b8e9849f9895c40dc26a7e19287fb 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/audits2/Audits2Panel.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/audits2/Audits2Panel.js |
| @@ -72,8 +72,8 @@ Audits2.Audits2Panel = class extends UI.PanelWithSidebar { |
| link.addEventListener( |
| 'click', () => InspectorFrontendHost.openInNewTab('https://developers.google.com/web/tools/lighthouse/')); |
| - var newButton = UI.createTextButton( |
| - Common.UIString('Perform an audit\u2026'), this._showLauncherUI.bind(this), 'material-button default'); |
| + var newButton = |
| + UI.createTextButton(Common.UIString('Perform an audit\u2026'), this._showLauncherUI.bind(this), 'primary'); |
|
dgozman
2017/05/15 21:29:00
Let's either pass a boolean primary, or have two m
luoe
2017/05/18 21:29:25
Done as boolean primary. I don't think we need to
|
| landingCenter.appendChild(newButton); |
| } |
| @@ -101,10 +101,9 @@ Audits2.Audits2Panel = class extends UI.PanelWithSidebar { |
| this._statusView = this._createStatusView(uiElement); |
| var buttonsRow = uiElement.createChild('div', 'audits2-dialog-buttons hbox'); |
| - this._startButton = |
| - UI.createTextButton(Common.UIString('Run audit'), this._start.bind(this), 'material-button default'); |
| + this._startButton = UI.createTextButton(Common.UIString('Run audit'), this._start.bind(this), 'primary'); |
| buttonsRow.appendChild(this._startButton); |
| - this._cancelButton = UI.createTextButton(Common.UIString('Cancel'), this._cancel.bind(this), 'material-button'); |
| + this._cancelButton = UI.createTextButton(Common.UIString('Cancel'), this._cancel.bind(this)); |
| buttonsRow.appendChild(this._cancelButton); |
| this._dialog.setSizeBehavior(UI.GlassPane.SizeBehavior.SetExactWidthMaxHeight); |