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 4479140938e0e8a5b038c86223e0fbfae6811a2a..b969bd7ab66edec2662e428db1ee340620429200 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/elements/ComputedStyleWidget.js |
+++ b/third_party/WebKit/Source/devtools/front_end/elements/ComputedStyleWidget.js |
@@ -119,7 +119,7 @@ Elements.ComputedStyleWidget = class extends UI.ThrottledWidget { |
var color = Common.Color.parse(text); |
if (!color) |
return createTextNode(text); |
- var swatch = UI.ColorSwatch.create(); |
+ var swatch = InlineEditor.ColorSwatch.create(); |
swatch.setColor(color); |
swatch.setFormat(Common.Color.detectColorFormat(color)); |
return swatch; |