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

Unified Diff: mojo/services/public/cpp/network/udp_socket_wrapper.cc

Issue 703753005: More Windows build fixes. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: remove generated files Created 6 years, 1 month 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 | « mojo/edk/system/data_pipe_consumer_dispatcher.cc ('k') | mojo/shell/desktop/mojo_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/public/cpp/network/udp_socket_wrapper.cc
diff --git a/mojo/services/public/cpp/network/udp_socket_wrapper.cc b/mojo/services/public/cpp/network/udp_socket_wrapper.cc
index 3a7f39b518c670f2ab80305a1ee57acab0add195..b594f7269050f5fba24263547980535a0103d165 100644
--- a/mojo/services/public/cpp/network/udp_socket_wrapper.cc
+++ b/mojo/services/public/cpp/network/udp_socket_wrapper.cc
@@ -124,7 +124,7 @@ void UDPSocketWrapper::SendTo(NetAddressPtr dest_addr,
MOJO_DCHECK(send_requests_.empty());
current_pending_sends_++;
socket_->SendTo(dest_addr.Pass(), data.Pass(),
- ErrorCallback(static_cast<typename ErrorCallback::Runnable*>(
+ ErrorCallback(static_cast<ErrorCallback::Runnable*>(
new SendCallbackHandler(this, callback))));
}
@@ -157,7 +157,7 @@ void UDPSocketWrapper::Initialize(uint32_t requested_max_pending_sends) {
socket_->NegotiateMaxPendingSendRequests(
requested_max_pending_sends,
Callback<void(uint32_t)>(
- static_cast<typename Callback<void(uint32_t)>::Runnable*>(
+ static_cast< Callback<void(uint32_t)>::Runnable*>(
new NegotiateCallbackHandler(this))));
socket_->ReceiveMore(max_receive_queue_size_);
}
@@ -196,7 +196,7 @@ bool UDPSocketWrapper::ProcessNextSendRequest() {
socket_->SendTo(
request->dest_addr.Pass(), request->data.Pass(),
- ErrorCallback(static_cast<typename ErrorCallback::Runnable*>(
+ ErrorCallback(static_cast<ErrorCallback::Runnable*>(
new SendCallbackHandler(this, request->callback))));
delete request;
« no previous file with comments | « mojo/edk/system/data_pipe_consumer_dispatcher.cc ('k') | mojo/shell/desktop/mojo_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698