Index: third_party/WebKit/Source/devtools/front_end/network/RequestPreviewView.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/network/RequestPreviewView.js b/third_party/WebKit/Source/devtools/front_end/network/RequestPreviewView.js |
index 31b457117807d7a134f6bfa2cfc170c64fba41a6..47395a1be032faade74e168a23f2599b289736d8 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/network/RequestPreviewView.js |
+++ b/third_party/WebKit/Source/devtools/front_end/network/RequestPreviewView.js |
@@ -86,13 +86,12 @@ WebInspector.RequestPreviewView.prototype = { |
}, |
/** |
- * @return {?WebInspector.RequestJSONView} |
+ * @return {?WebInspector.JSONView} |
*/ |
_jsonView: function() |
{ |
- var content = this._requestContent(); |
- var parsedJSON = WebInspector.RequestJSONView.parseJSON(content); |
- return parsedJSON ? new WebInspector.RequestJSONView(this.request, parsedJSON) : null; |
+ var parsedJSON = WebInspector.JSONView.parseJSON(this._requestContent()); |
+ return parsedJSON && new WebInspector.JSONView(parsedJSON); |
}, |
/** |