| 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 289ed80c87da9cb065065fb0e85b6fb0dbcbbd7f..310f2e78dad93e3d92840c6f8b0a975ce50a20c7 100644
|
| --- a/Source/devtools/front_end/network/RequestResponseView.js
|
| +++ b/Source/devtools/front_end/network/RequestResponseView.js
|
| @@ -53,7 +53,7 @@ WebInspector.RequestResponseView.prototype = {
|
| }
|
|
|
| var sourceFrame = new WebInspector.ResourceSourceFrame(contentProvider);
|
| - sourceFrame.setHighlighterType(this.request.type.canonicalMimeType() || this.request.mimeType);
|
| + sourceFrame.setHighlighterType(this.request.resourceType().canonicalMimeType() || this.request.mimeType);
|
| this._sourceView = sourceFrame;
|
| return this._sourceView;
|
| },
|
| @@ -119,7 +119,7 @@ WebInspector.RequestResponseView.ContentProvider.prototype = {
|
| */
|
| contentType: function()
|
| {
|
| - return this._request.contentType();
|
| + return this._request.resourceType();
|
| },
|
|
|
| /**
|
|
|