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

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

Issue 703273002: Update mojo sdk to rev 04a510fb37db10642e156957f9b2c11c2f6442ac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix content/child -> mojo/common linking 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
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;

Powered by Google App Engine
This is Rietveld 408576698