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

Unified Diff: content/public/test/browser_side_navigation_test_utils.cc

Issue 2368913002: Fix stream errors that occur after a stream starts not propagating. (Closed)
Patch Set: fix tests Created 4 years, 3 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: content/public/test/browser_side_navigation_test_utils.cc
diff --git a/content/public/test/browser_side_navigation_test_utils.cc b/content/public/test/browser_side_navigation_test_utils.cc
index 93f8927daa629d9ac84b7d5b7db157f75a46fec3..8c7037cd68591007cef8c21c8ab16e3510a600fe 100644
--- a/content/public/test/browser_side_navigation_test_utils.cc
+++ b/content/public/test/browser_side_navigation_test_utils.cc
@@ -62,7 +62,7 @@ std::unique_ptr<StreamHandle> MakeEmptyStream() {
StreamRegistry* stream_registry =
browser_side_navigation_test_utils.Get()->stream_registry();
scoped_refptr<Stream> stream(new Stream(stream_registry, NULL, url));
- stream->Finalize();
+ stream->Finalize(0);
return stream->CreateHandle();
}

Powered by Google App Engine
This is Rietveld 408576698