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

Unified Diff: ipc/ipc_sync_message_filter.cc

Issue 11722033: reinterpret_cast -> static_cast in SyncMessageFilter::Send(). (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 7 years, 12 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: ipc/ipc_sync_message_filter.cc
diff --git a/ipc/ipc_sync_message_filter.cc b/ipc/ipc_sync_message_filter.cc
index 347a68c4c48cf3d725bb05fb987fb6229ca34bba..b2cd8a7bd6e83144932b36799b594433cd3fa3d0 100644
--- a/ipc/ipc_sync_message_filter.cc
+++ b/ipc/ipc_sync_message_filter.cc
@@ -39,7 +39,7 @@ bool SyncMessageFilter::Send(Message* message) {
base::WaitableEvent done_event(true, false);
PendingSyncMsg pending_message(
SyncMessage::GetMessageId(*message),
- reinterpret_cast<SyncMessage*>(message)->GetReplyDeserializer(),
+ static_cast<SyncMessage*>(message)->GetReplyDeserializer(),
&done_event);
{
« 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