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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/NetworkRequest.js

Issue 2109813003: [DevTools] No NetworkManager and NetworkLog for v8only mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass NetworkManager as a ctor parameter, to ensure proper initialization order. Created 4 years, 6 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/sdk/NetworkRequest.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/NetworkRequest.js b/third_party/WebKit/Source/devtools/front_end/sdk/NetworkRequest.js
index 2ed32a58d6ec37bfe12517e033cd396cfc4e8744..272135b59a07d25a74ae492c857be891388dcc35 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/NetworkRequest.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/NetworkRequest.js
@@ -1124,7 +1124,7 @@ WebInspector.NetworkRequest.prototype = {
initiatorRequest: function()
{
if (this._initiatorRequest === undefined)
- this._initiatorRequest = this.target().networkLog.requestForURL(this.initiatorInfo().url);
+ this._initiatorRequest = WebInspector.NetworkLog.fromTarget(this.target()).requestForURL(this.initiatorInfo().url);
return this._initiatorRequest;
},

Powered by Google App Engine
This is Rietveld 408576698