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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_net_address_private_rpc_server.cc

Issue 9398003: Change PPB_NetAddress_Private.GetFamily to return a PP_AddressFamily_Private value instead of uint1… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 10 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
Index: ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_net_address_private_rpc_server.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_net_address_private_rpc_server.cc b/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_net_address_private_rpc_server.cc
index 6d355a9473b6de619b8c8e33cb546fa2489ac8b7..3343049c8df169cfd3388bcdcd096cfdb83a4a7d 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_net_address_private_rpc_server.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_net_address_private_rpc_server.cc
@@ -193,8 +193,9 @@ void PpbNetAddressPrivateRpcServer::PPB_NetAddress_Private_GetFamily(
return;
}
- *addr_family = PPBNetAddressPrivateInterface()->GetFamily(
- reinterpret_cast<PP_NetAddress_Private*>(addr));
+ *addr_family = static_cast<int32_t>(
+ PPBNetAddressPrivateInterface()->GetFamily(
+ reinterpret_cast<PP_NetAddress_Private*>(addr)));
DebugPrintf("PPB_NetAddress_Private::GetFamily\n");
« no previous file with comments | « ppapi/cpp/private/net_address_private.cc ('k') | ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_net_address_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698