Index: Source/devtools/front_end/StylesSidebarPane.js |
diff --git a/Source/devtools/front_end/StylesSidebarPane.js b/Source/devtools/front_end/StylesSidebarPane.js |
index 0b66b9c2bcc934a4e7f847cd3903f132e4b324af..79bb026e3810ccc9f0c402417c70735356357332 100644 |
--- a/Source/devtools/front_end/StylesSidebarPane.js |
+++ b/Source/devtools/front_end/StylesSidebarPane.js |
@@ -351,8 +351,8 @@ WebInspector.StylesSidebarPane.prototype = { |
} |
if (this._computedStylePane.isShowing()) |
- WebInspector.cssModel.getComputedStyleAsync(node.id, computedCallback.bind(this)); |
- WebInspector.cssModel.getInlineStylesAsync(node.id, inlineCallback.bind(this)); |
+ WebInspector.cssModel.getComputedStyleAsync(node.id, computedCallback); |
+ WebInspector.cssModel.getInlineStylesAsync(node.id, inlineCallback); |
WebInspector.cssModel.getMatchedStylesAsync(node.id, true, true, stylesCallback.bind(this)); |
}, |
@@ -1931,7 +1931,7 @@ WebInspector.StylePropertyTreeElementBase.prototype = { |
} |
if (value) { |
- var colorProcessor = processValue.bind(this, WebInspector.StylesSidebarPane._colorRegex, this._processColor.bind(this, nameElement, valueElement), null); |
+ var colorProcessor = processValue.bind(null, WebInspector.StylesSidebarPane._colorRegex, this._processColor.bind(this, nameElement, valueElement), null); |
valueElement.appendChild(processValue(/url\(\s*([^)]+)\s*\)/g, linkifyURL.bind(this), WebInspector.CSSMetadata.isColorAwareProperty(this.name) && this.parsedOk ? colorProcessor : null, value)); |
} |