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

Unified Diff: util/net/http_body_test.cc

Issue 1416493006: Change file op |ssize_t|s to FileOperationResult (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: fixes Created 5 years, 2 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 | « util/net/http_body.cc ('k') | util/net/http_body_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/net/http_body_test.cc
diff --git a/util/net/http_body_test.cc b/util/net/http_body_test.cc
index 8ec334d36e6016ab825a27579f5a0b115b701112..ea4d869305f86c7ed08b74e13878fca3f079d78b 100644
--- a/util/net/http_body_test.cc
+++ b/util/net/http_body_test.cc
@@ -47,7 +47,7 @@ TEST(StringHTTPBodyStream, SmallString) {
std::string string("Hello, world");
StringHTTPBodyStream stream(string);
- EXPECT_EQ(implicit_cast<ssize_t>(string.length()),
+ EXPECT_EQ(implicit_cast<FileOperationResult>(string.length()),
stream.GetBytesBuffer(buf, sizeof(buf)));
std::string actual(reinterpret_cast<const char*>(buf), string.length());
« no previous file with comments | « util/net/http_body.cc ('k') | util/net/http_body_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698