Index: Source/devtools/front_end/source_frame/ImageView.js |
diff --git a/Source/devtools/front_end/source_frame/ImageView.js b/Source/devtools/front_end/source_frame/ImageView.js |
index b2408ae0aa2895c6d49c4454a0d33336f4600bd4..4852fc524650278cdd60bd0f1eb2f11904b3ecaf 100644 |
--- a/Source/devtools/front_end/source_frame/ImageView.js |
+++ b/Source/devtools/front_end/source_frame/ImageView.js |
@@ -62,7 +62,7 @@ WebInspector.ImageView.prototype = { |
this._container = this.element.createChild("div", "info"); |
this._container.createChild("h1", "title").textContent = this._parsedURL.displayName; |
- var infoListElement = document.createElementWithClass("dl", "infoList"); |
+ var infoListElement = createElementWithClass("dl", "infoList"); |
WebInspector.Resource.populateImageSource(this._url, this._mimeType, this._contentProvider, imagePreviewElement); |
this._contentProvider.requestContent(onContentAvailable.bind(this)); |