| 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 036fc632880781cf855a60d299d6f6d7775d33e4..276c33ce6446d6754ffcddd4f119c941bc808f36 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| @@ -2048,8 +2048,9 @@ WebInspector.StylePropertyTreeElement.prototype = {
|
| var cssShadowSwatch = WebInspector.CSSShadowSwatch.create();
|
| cssShadowSwatch.setCSSShadow(shadows[i]);
|
| new WebInspector.ShadowSwatchPopoverHelper(this, swatchPopoverHelper, cssShadowSwatch);
|
| - if (cssShadowSwatch.colorSwatch())
|
| - var colorSwatchIcon = new WebInspector.ColorSwatchPopoverIcon(this, swatchPopoverHelper, cssShadowSwatch.colorSwatch());
|
| + var colorSwatch = cssShadowSwatch.colorSwatch();
|
| + if (colorSwatch)
|
| + new WebInspector.ColorSwatchPopoverIcon(this, swatchPopoverHelper, colorSwatch);
|
| container.appendChild(cssShadowSwatch);
|
| }
|
| return container;
|
|
|