| Index: third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js b/third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js
|
| index e9fc42f18cbeff48b8ee9ad1efff0e47d21beb67..1da29b93db0bba4a73359ff5283ee8120efff48d 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js
|
| @@ -63,7 +63,7 @@ WebInspector.ConsoleContextSelector.prototype = {
|
| this._optionByExecutionContext.set(executionContext, newOption);
|
| var options = this._selectElement.options;
|
| var contexts = Array.prototype.map.call(options, mapping);
|
| - var index = contexts.lowerBound(executionContext, WebInspector.ExecutionContext.comparator)
|
| + var index = contexts.lowerBound(executionContext, executionContext.runtimeModel.executionContextComparator())
|
| this._selectElement.insertBefore(newOption, options[index]);
|
|
|
| if (executionContext === WebInspector.context.flavor(WebInspector.ExecutionContext))
|
|
|