Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(800)

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/RequestResponseView.js

Issue 2205853005: [Devtools] Regression fix for double toolbar for images in network (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [Devtools] Regression fix for double toolbar for images in network Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/network/RequestResponseView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/RequestResponseView.js b/third_party/WebKit/Source/devtools/front_end/network/RequestResponseView.js
index 34c35d6228eb62d58e2ce4954b980e9ec8764c7a..44710cd184f0cb6d92750aadf99073277dcea6d1 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/RequestResponseView.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/RequestResponseView.js
@@ -65,7 +65,6 @@ WebInspector.RequestResponseView.prototype = {
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._emptyWidget) {
@@ -75,12 +74,10 @@ WebInspector.RequestResponseView.prototype = {
if (this.request.content && this.sourceView) {
this.sourceView.show(this.element);
- this.innerView = this.sourceView;
} else {
if (!this._errorView)
this._errorView = this._createMessageView(WebInspector.UIString("Failed to load response data"));
this._errorView.show(this.element);
- this.innerView = this._errorView;
}
}
},

Powered by Google App Engine
This is Rietveld 408576698