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

Unified Diff: tools/ipc_fuzzer/fuzzer/fuzzer.cc

Issue 1640363002: Fix an IPC fuzzer compile failure. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/ipc_fuzzer/fuzzer/fuzzer.cc
diff --git a/tools/ipc_fuzzer/fuzzer/fuzzer.cc b/tools/ipc_fuzzer/fuzzer/fuzzer.cc
index b7abec88f9e1ade6158c4300b54ecb2f2760d015..22bbb5c40a0f6cfbcc0b2d435aea4617d83c985f 100644
--- a/tools/ipc_fuzzer/fuzzer/fuzzer.cc
+++ b/tools/ipc_fuzzer/fuzzer/fuzzer.cc
@@ -1456,13 +1456,13 @@ struct FuzzTraits<net::HostPortPair> {
template <>
struct FuzzTraits<net::IPEndPoint> {
static bool Fuzz(net::IPEndPoint* p, Fuzzer* fuzzer) {
- net::IPAddressNumber address = p->address();
+ net::IPAddressNumber address_number = p->address().bytes();
int port = p->port();
- if (!FuzzParam(&address, fuzzer))
+ if (!FuzzParam(&address_number, fuzzer))
return false;
if (!FuzzParam(&port, fuzzer))
return false;
- net::IPEndPoint ip_endpoint(address, port);
+ net::IPEndPoint ip_endpoint(address_number, port);
*p = ip_endpoint;
return true;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698