| Index: third_party/WebKit/Source/devtools/front_end/sources/StyleSheetOutlineDialog.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/StyleSheetOutlineDialog.js b/third_party/WebKit/Source/devtools/front_end/sources/StyleSheetOutlineDialog.js
|
| index c8b9802d5e04ede5bd35c266feb291cf25b978a6..803b6875db246020a02fdfc79d8fb4f8da0bcd39 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/StyleSheetOutlineDialog.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/StyleSheetOutlineDialog.js
|
| @@ -100,10 +100,12 @@ Sources.StyleSheetOutlineDialog = class extends UI.FilteredListWidget.Delegate {
|
|
|
| /**
|
| * @override
|
| - * @param {number} itemIndex
|
| + * @param {?number} itemIndex
|
| * @param {string} promptValue
|
| */
|
| selectItem(itemIndex, promptValue) {
|
| + if (itemIndex === null)
|
| + return;
|
| var rule = this._rules[itemIndex];
|
| var lineNumber = rule.lineNumber;
|
| if (!isNaN(lineNumber) && lineNumber >= 0)
|
|
|