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 0cec690686801e0203c7840594490aa857601171..d11ff1acb1aca80ff68554e4d4c4c5f8ce6df3f3 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileLauncherView.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileLauncherView.js |
| @@ -87,7 +87,7 @@ WebInspector.ProfileLauncherView.prototype = { |
| _updateLoadButtonLayout: function() |
| { |
| - this._loadButton.classList.toggle("multi-target", WebInspector.targetManager.targetsWithJSContext().length > 1); |
| + this._loadButton.classList.toggle("multi-target", WebInspector.targetManager.hasTargets(WebInspector.Target.Capability.JS)); |
|
dgozman
2016/07/13 00:08:29
.targets(WebInspector.Target.Capability.JS).length
eostroukhov-old
2016/07/13 00:36:29
Oops. Thanks!
|
| }, |
| /** |