Index: Source/devtools/front_end/network/RequestResponseView.js |
diff --git a/Source/devtools/front_end/network/RequestResponseView.js b/Source/devtools/front_end/network/RequestResponseView.js |
index 24ee39afbdfa94ddaea3e9af361c6791e1a774ee..802b2e07ae657a9b7fa14a47adfb93666e80253c 100644 |
--- a/Source/devtools/front_end/network/RequestResponseView.js |
+++ b/Source/devtools/front_end/network/RequestResponseView.js |
@@ -60,25 +60,25 @@ WebInspector.RequestResponseView.prototype = { |
/** |
* @param {string} message |
- * @return {!WebInspector.EmptyView} |
+ * @return {!WebInspector.EmptyWidget} |
*/ |
_createMessageView: function(message) |
{ |
- return new WebInspector.EmptyView(message); |
+ return new WebInspector.EmptyWidget(message); |
}, |
contentLoaded: function() |
{ |
if ((!this.request.content || !this.sourceView) && !this.request.contentError()) { |
- if (!this._emptyView) { |
- this._emptyView = this._createMessageView(WebInspector.UIString("This request has no response data available.")); |
- this._emptyView.show(this.element); |
- this.innerView = this._emptyView; |
+ if (!this._emptyWidget) { |
+ this._emptyWidget = this._createMessageView(WebInspector.UIString("This request has no response data available.")); |
+ this._emptyWidget.show(this.element); |
+ this.innerView = this._emptyWidget; |
} |
} else { |
- if (this._emptyView) { |
- this._emptyView.detach(); |
- delete this._emptyView; |
+ if (this._emptyWidget) { |
+ this._emptyWidget.detach(); |
+ delete this._emptyWidget; |
} |
if (this.request.content && this.sourceView) { |