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

Unified Diff: net/websockets/websocket_inflater_test.cc

Issue 511163002: Net-related fixups for scoped_refptr conversion operator cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix naming to match Created 6 years, 4 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
« no previous file with comments | « net/socket/ssl_client_socket_pool.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_inflater_test.cc
diff --git a/net/websockets/websocket_inflater_test.cc b/net/websockets/websocket_inflater_test.cc
index 5b6df4167c211b0de6ebdd84bd46ac14aa9992e8..2fd90f4b989cdba67a9f78fd20132a4ee8ca2871 100644
--- a/net/websockets/websocket_inflater_test.cc
+++ b/net/websockets/websocket_inflater_test.cc
@@ -93,7 +93,7 @@ TEST(WebSocketInflaterTest, ChokedInvalidData) {
EXPECT_TRUE(inflater.AddBytes("\xf2\x48\xcd\xc9INVALID DATA", 16));
EXPECT_TRUE(inflater.Finish());
EXPECT_EQ(1u, inflater.CurrentOutputSize());
- EXPECT_FALSE(inflater.GetOutput(1024));
+ EXPECT_FALSE(inflater.GetOutput(1024).get());
}
TEST(WebSocketInflaterTest, MultipleAddBytesCalls) {
« no previous file with comments | « net/socket/ssl_client_socket_pool.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698