Index: Source/devtools/front_end/ui/TextPrompt.js |
diff --git a/Source/devtools/front_end/ui/TextPrompt.js b/Source/devtools/front_end/ui/TextPrompt.js |
index fdee6cb6ffddec9174c55e1bfca432df6b96e102..a3ba491d76cb5321894235735a1439a137727a3b 100644 |
--- a/Source/devtools/front_end/ui/TextPrompt.js |
+++ b/Source/devtools/front_end/ui/TextPrompt.js |
@@ -121,7 +121,7 @@ WebInspector.TextPrompt.prototype = { |
this._boundRemoveSuggestionAids = this._removeSuggestionAids.bind(this); |
this._proxyElement = element.ownerDocument.createElement("span"); |
var shadowRoot = this._proxyElement.createShadowRoot(); |
- shadowRoot.appendChild(WebInspector.View.createStyleElement("ui/textPrompt.css")); |
+ shadowRoot.appendChild(WebInspector.Widget.createStyleElement("ui/textPrompt.css")); |
this._contentElement = shadowRoot.createChild("div"); |
this._contentElement.createChild("content"); |
this._proxyElement.style.display = this._proxyElementDisplay; |