| Index: third_party/WebKit/Source/devtools/front_end/profiler/TargetsComboBoxController.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/TargetsComboBoxController.js b/third_party/WebKit/Source/devtools/front_end/profiler/TargetsComboBoxController.js
|
| index 1942cbd80fcd152da0859284d4bcc68619f73f49..50bb23e3a06a3944c426870381dd3590bec5e798 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/profiler/TargetsComboBoxController.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/profiler/TargetsComboBoxController.js
|
| @@ -29,7 +29,7 @@ WebInspector.TargetsComboBoxController.prototype = {
|
| */
|
| targetAdded: function(target)
|
| {
|
| - if (!target.hasJSContext())
|
| + if (!target.hasJSDomains())
|
| return;
|
| var option = this._selectElement.createChild("option");
|
| option.text = target.name();
|
| @@ -47,7 +47,7 @@ WebInspector.TargetsComboBoxController.prototype = {
|
| */
|
| targetRemoved: function(target)
|
| {
|
| - if (!target.hasJSContext())
|
| + if (!target.hasJSDomains())
|
| return;
|
| var option = this._targetToOption.remove(target);
|
| this._selectElement.removeChild(option);
|
|
|