Index: third_party/WebKit/Source/devtools/front_end/elements/ComputedStyleWidget.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/ComputedStyleWidget.js b/third_party/WebKit/Source/devtools/front_end/elements/ComputedStyleWidget.js |
index d0db21e957370a78956d166f2ff5904b1558b1a3..5b67223fe51540116a3caf40614f3e7345cbce86 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/elements/ComputedStyleWidget.js |
+++ b/third_party/WebKit/Source/devtools/front_end/elements/ComputedStyleWidget.js |
@@ -129,7 +129,7 @@ WebInspector.ComputedStyleWidget.prototype = { |
if (!color) |
return createTextNode(text); |
var swatch = WebInspector.ColorSwatch.create(); |
- swatch.setColorText(text); |
+ swatch.setColor(color); |
swatch.setFormat(WebInspector.Color.detectColorFormat(color)); |
return swatch; |
}, |