| Index: third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js b/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
|
| index 281deb6fa988f1abafb64348030df4321d04ce34..c6f2e44820c93d31c92a19a1faf222470e569490 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
|
| @@ -265,6 +265,14 @@ WebInspector.TextFilterUI.prototype = {
|
| },
|
|
|
| /**
|
| + * @return {boolean}
|
| + */
|
| + isRegexChecked: function()
|
| + {
|
| + return this._supportRegex ? this._regexCheckBox.checked : false;
|
| + },
|
| +
|
| + /**
|
| * @return {string}
|
| */
|
| value: function()
|
| @@ -369,7 +377,7 @@ WebInspector.TextFilterUI.prototype = {
|
| this._regex = null;
|
| this._filterInputElement.classList.remove("filter-text-invalid");
|
| if (filterQuery) {
|
| - if (this._supportRegex && this._regexCheckBox.checked) {
|
| + if (this.isRegexChecked()) {
|
| try {
|
| this._regex = new RegExp(filterQuery, "i");
|
| } catch (e) {
|
|
|