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

Unified Diff: third_party/WebKit/Source/devtools/front_end/profiler/ProfileLauncherView.js

Issue 2881453003: DevTools: update buttons to new style (Closed)
Patch Set: a Created 3 years, 7 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
Index: third_party/WebKit/Source/devtools/front_end/profiler/ProfileLauncherView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileLauncherView.js b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileLauncherView.js
index 0fc88a57fdb9200a5ab6f819d9afd1b45f270fbd..24b8b7ae034f7c652a499b3c98a80c1d1ba4e0e7 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileLauncherView.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileLauncherView.js
@@ -48,7 +48,8 @@ Profiler.ProfileLauncherView = class extends UI.VBox {
var targetsSelect = targetDiv.createChild('select', 'chrome-select');
new Profiler.TargetsComboBoxController(targetsSelect, targetDiv);
this._controlButton = UI.createTextButton('', this._controlButtonClicked.bind(this));
- controlDiv.appendChild(this._controlButton);
+ this._controlButton.classList.add('primary');
+ this._contentElement.appendChild(this._controlButton);
this._recordButtonEnabled = true;
this._loadButton = UI.createTextButton(Common.UIString('Load'), this._loadButtonClicked.bind(this), 'load-profile');
this._contentElement.appendChild(this._loadButton);

Powered by Google App Engine
This is Rietveld 408576698