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

Unified Diff: net/http2/tools/random_decoder_test.cc

Issue 2572343002: Use std::function instead of base::Callback in net/http2/. (Closed)
Patch Set: Remove unreachable return statements. Created 4 years 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: net/http2/tools/random_decoder_test.cc
diff --git a/net/http2/tools/random_decoder_test.cc b/net/http2/tools/random_decoder_test.cc
index 9a646e3255bb828a8cf9af44a6a2b15d834ea2fb..224a825b6125fa81a2b2bf3d1260f033053cbd88 100644
--- a/net/http2/tools/random_decoder_test.cc
+++ b/net/http2/tools/random_decoder_test.cc
@@ -127,8 +127,7 @@ AssertionResult RandomDecoderTest::DecodeAndValidateSeveralWays(
DecodeBuffer input(original->cursor(), original_remaining);
VLOG(2) << "DecodeSegmentsAndValidate with SelectRandom";
VERIFY_SUCCESS(DecodeSegmentsAndValidate(
- &input, RandomDecoderTest::SelectRandom(return_non_zero_on_first),
- validator))
+ &input, SelectRandom(return_non_zero_on_first), validator))
<< "\nFailed with SelectRandom; input.Offset=" << input.Offset()
<< "; input.Remaining=" << input.Remaining();
VERIFY_EQ(first_consumed, input.Offset()) << "\nFailed with SelectRandom";
« net/http2/tools/random_decoder_test.h ('K') | « net/http2/tools/random_decoder_test.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698