Index: Source/devtools/blink/chromeServerProfile/Default/Cache/f_000049 |
diff --git a/Source/devtools/front_end/NetworkRequest.js b/Source/devtools/blink/chromeServerProfile/Default/Cache/f_000049 |
similarity index 98% |
copy from Source/devtools/front_end/NetworkRequest.js |
copy to Source/devtools/blink/chromeServerProfile/Default/Cache/f_000049 |
index b6fb0f30523d79da6cec3f2f1c6c9e46bfc72454..9de3eaa15b5df2ed0092493ff917e221a23c1212 100644 |
--- a/Source/devtools/front_end/NetworkRequest.js |
+++ b/Source/devtools/blink/chromeServerProfile/Default/Cache/f_000049 |
@@ -30,19 +30,16 @@ |
/** |
* @constructor |
- * @extends {WebInspector.TargetAwareObject} |
+ * @extends {WebInspector.Object} |
* @implements {WebInspector.ContentProvider} |
* @param {!NetworkAgent.RequestId} requestId |
- * @param {!WebInspector.Target} target |
* @param {string} url |
* @param {string} documentURL |
* @param {!PageAgent.FrameId} frameId |
* @param {!NetworkAgent.LoaderId} loaderId |
*/ |
-WebInspector.NetworkRequest = function(target, requestId, url, documentURL, frameId, loaderId) |
+WebInspector.NetworkRequest = function(requestId, url, documentURL, frameId, loaderId) |
{ |
- WebInspector.TargetAwareObject.call(this, target); |
- |
this._requestId = requestId; |
this.url = url; |
this._documentURL = documentURL; |
@@ -409,7 +406,7 @@ WebInspector.NetworkRequest.prototype = { |
this._path = ""; |
} else { |
this._path = this._parsedURL.host + this._parsedURL.folderPathComponents; |
- this._path = this._path.trimURL(this.target().resourceTreeModel.inspectedPageDomain()); |
+ this._path = this._path.trimURL(WebInspector.resourceTreeModel.inspectedPageDomain()); |
if (this._parsedURL.lastPathComponent || this._parsedURL.queryParams) |
this._name = this._parsedURL.lastPathComponent + (this._parsedURL.queryParams ? "?" + this._parsedURL.queryParams : ""); |
else if (this._parsedURL.folderPathComponents) { |
@@ -979,5 +976,5 @@ WebInspector.NetworkRequest.prototype = { |
this._frames.push(frameOrError); |
}, |
- __proto__: WebInspector.TargetAwareObject.prototype |
+ __proto__: WebInspector.Object.prototype |
} |