Chromium Code Reviews| 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); |
|
dgozman
2017/05/15 21:29:00
Why different parent?
luoe
2017/05/18 21:29:26
Before this CL, the action button might be on the
|
| this._recordButtonEnabled = true; |
| this._loadButton = UI.createTextButton(Common.UIString('Load'), this._loadButtonClicked.bind(this), 'load-profile'); |
| this._contentElement.appendChild(this._loadButton); |