| 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 ccb9c9db97d012019516e7c973800e4b14de05bd..d724e9e627df433d4f74e2a2af0cad521859c0bf 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| @@ -1955,13 +1955,13 @@ WebInspector.StylePropertyTreeElement.prototype = {
|
|
|
| if (!this._editable()) {
|
| var swatch = WebInspector.ColorSwatch.create();
|
| - swatch.setColorText(text);
|
| + swatch.setColor(color);
|
| return swatch;
|
| }
|
|
|
| var swatchPopoverHelper = this._parentPane._swatchPopoverHelper;
|
| var swatch = WebInspector.ColorSwatch.create();
|
| - swatch.setColorText(text);
|
| + swatch.setColor(color);
|
| swatch.setFormat(WebInspector.Color.detectColorFormat(swatch.color()));
|
| var swatchIcon = new WebInspector.ColorSwatchPopoverIcon(this, swatchPopoverHelper, swatch);
|
|
|
|
|