Index: Source/devtools/front_end/ui/ColorSwatch.js |
diff --git a/Source/devtools/front_end/ui/ColorSwatch.js b/Source/devtools/front_end/ui/ColorSwatch.js |
index da5687efea58350d450af9a51ba8c39ca5b64dd3..5dcf26aa27d6fb3de28ab813845a3c29163a8674 100644 |
--- a/Source/devtools/front_end/ui/ColorSwatch.js |
+++ b/Source/devtools/front_end/ui/ColorSwatch.js |
@@ -79,7 +79,7 @@ WebInspector.ColorSwatch.prototype = { |
createdCallback: function() |
{ |
var root = this.createShadowRoot(); |
- root.appendChild(WebInspector.View.createStyleElement("ui/colorSwatch.css")); |
+ root.appendChild(WebInspector.Widget.createStyleElement("ui/colorSwatch.css")); |
this._iconElement = root.createChild("span", "color-swatch"); |
this._iconElement.title = WebInspector.UIString("Shift-click to change color format."); |