Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js |
| index 339661c82c9d8fdf58df7caee091a1291ad8d61f..d90216ce4fa1d699efb5ec30d8ff634229ec4712 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js |
| @@ -99,7 +99,7 @@ WebInspector.StylesSidebarPane.ignoreErrorsForProperty = function(property) { |
| var value = property.value.toLowerCase(); |
| // IE hack. |
| - if (value.endsWith("\9")) |
| + if (value.endsWith("\\9")) |
|
dgozman
2016/10/26 00:31:01
Unrelated.
|
| return true; |
| if (hasUnknownVendorPrefix(value)) |
| return true; |
| @@ -2878,7 +2878,8 @@ WebInspector.StylePropertyTreeElement.prototype = { |
| WebInspector.StylesSidebarPane.CSSPropertyPrompt = function(cssCompletions, treeElement, isEditingName) |
| { |
| // Use the same callback both for applyItemCallback and acceptItemCallback. |
| - WebInspector.TextPrompt.call(this, this._buildPropertyCompletions.bind(this), WebInspector.StyleValueDelimiters); |
| + WebInspector.TextPrompt.call(this); |
| + this.initialize(this._buildPropertyCompletions.bind(this), WebInspector.StyleValueDelimiters); |
| this.setSuggestBoxEnabled(true); |
| this._cssCompletions = cssCompletions; |
| this._treeElement = treeElement; |