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

Unified Diff: third_party/WebKit/LayoutTests/inspector/curl-command.html

Issue 2921963002: [Devtools] Removed NetworkRequest dependency on NetworkManager (Closed)
Patch Set: Merge branch 'REMOVE_REDIRECTS_REBASE' into REMOVE_MANAGER_DEPENDENCY Created 3 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/LayoutTests/inspector/curl-command.html
diff --git a/third_party/WebKit/LayoutTests/inspector/curl-command.html b/third_party/WebKit/LayoutTests/inspector/curl-command.html
index ea10e6edefcb661fe027c43340564963e181cff7..445c1ab239dea02f348578b3f40d18edc75f2e1c 100644
--- a/third_party/WebKit/LayoutTests/inspector/curl-command.html
+++ b/third_party/WebKit/LayoutTests/inspector/curl-command.html
@@ -9,7 +9,7 @@ var test = function()
function newRequest(headers, data, opt_url)
{
- var request = new SDK.NetworkRequest(SDK.targetManager.mainTarget(), 0, opt_url || 'http://example.org/path', 0, 0, 0);
+ var request = new SDK.NetworkRequest(0, opt_url || 'http://example.org/path', 0, 0, 0);
request.requestMethod = data ? "POST" : "GET";
var headerList = [];
if (headers) {

Powered by Google App Engine
This is Rietveld 408576698