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: src/shared/ppapi_proxy/browser_ppp_instance.cc

Issue 6218004: Resource64->32, NaCl side. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: First Created 9 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 | src/shared/ppapi_proxy/ppb_rpc_client.cc » ('j') | tests/fake_browser_ppapi/fake_host.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/shared/ppapi_proxy/browser_ppp_instance.cc
diff --git a/src/shared/ppapi_proxy/browser_ppp_instance.cc b/src/shared/ppapi_proxy/browser_ppp_instance.cc
index 26435915f90ce480c10da4c371a6b229c803be1b..01953774364dc35d2ec9baffd7bf1e017cb4b5ba 100644
--- a/src/shared/ppapi_proxy/browser_ppp_instance.cc
+++ b/src/shared/ppapi_proxy/browser_ppp_instance.cc
@@ -70,7 +70,7 @@ PP_Bool DidCreate(PP_Instance instance,
uint32_t argc,
const char* argn[],
const char* argv[]) {
- DebugPrintf("PPP_Instance::DidCreate(%"NACL_PRId64")\n", instance);
+ DebugPrintf("PPP_Instance::DidCreate(%"NACL_PRId32")\n", instance);
uint32_t argn_size;
scoped_array<char> argn_serial(ArgArraySerialize(argc, argn, &argn_size));
if (argn_serial.get() == NULL) {
@@ -99,7 +99,7 @@ PP_Bool DidCreate(PP_Instance instance,
}
void DidDestroy(PP_Instance instance) {
- DebugPrintf("PPP_Instance::Delete(%"NACL_PRId64")\n", instance);
+ DebugPrintf("PPP_Instance::Delete(%"NACL_PRId32")\n", instance);
(void) PppInstanceRpcClient::PPP_Instance_DidDestroy(
GetMainSrpcChannel(instance), instance);
}
@@ -107,7 +107,7 @@ void DidDestroy(PP_Instance instance) {
void DidChangeView(PP_Instance instance,
const PP_Rect* position,
const PP_Rect* clip) {
- DebugPrintf("PPP_Instance::DidChangeView(%"NACL_PRId64")\n",
+ DebugPrintf("PPP_Instance::DidChangeView(%"NACL_PRId32")\n",
instance);
int32_t position_array[4];
const uint32_t kPositionArraySize = NACL_ARRAY_SIZE(position_array);
@@ -131,7 +131,7 @@ void DidChangeView(PP_Instance instance,
}
void DidChangeFocus(PP_Instance instance, PP_Bool has_focus) {
- DebugPrintf("PPP_Instance::DidChangeFocus(%"NACL_PRId64")\n",
+ DebugPrintf("PPP_Instance::DidChangeFocus(%"NACL_PRId32")\n",
instance);
// DidChangeFocus() always succeeds, no need to check the SRPC return value.
(void) PppInstanceRpcClient::PPP_Instance_DidChangeFocus(
@@ -141,7 +141,7 @@ void DidChangeFocus(PP_Instance instance, PP_Bool has_focus) {
}
PP_Bool HandleInputEvent(PP_Instance instance, const PP_InputEvent* event) {
- DebugPrintf("PPP_Instance::HandleInputEvent(%"NACL_PRId64")\n",
+ DebugPrintf("PPP_Instance::HandleInputEvent(%"NACL_PRId32")\n",
instance);
int32_t success;
char* event_data = const_cast<char*>(reinterpret_cast<const char*>(event));
@@ -159,7 +159,7 @@ PP_Bool HandleInputEvent(PP_Instance instance, const PP_InputEvent* event) {
}
PP_Bool HandleDocumentLoad(PP_Instance instance, PP_Resource url_loader) {
- DebugPrintf("PPP_Instance::HandleDocumentLoad(%"NACL_PRId64")\n",
+ DebugPrintf("PPP_Instance::HandleDocumentLoad(%"NACL_PRId32")\n",
instance);
// TODO(sehr): implement HandleDocumentLoad.
UNREFERENCED_PARAMETER(instance);
@@ -168,7 +168,7 @@ PP_Bool HandleDocumentLoad(PP_Instance instance, PP_Resource url_loader) {
}
PP_Var GetInstanceObject(PP_Instance instance) {
- DebugPrintf("PPP_Instance::GetInstanceObject(%"NACL_PRId64")\n",
+ DebugPrintf("PPP_Instance::GetInstanceObject(%"NACL_PRId32")\n",
instance);
ObjectCapability capability;
uint32_t capability_bytes = static_cast<uint32_t>(sizeof(capability));
« no previous file with comments | « no previous file | src/shared/ppapi_proxy/ppb_rpc_client.cc » ('j') | tests/fake_browser_ppapi/fake_host.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698