Index: ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_instance_rpc_server.cc |
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_instance_rpc_server.cc b/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_instance_rpc_server.cc |
index 15aaea262e96252fcdba71914896a963b7da1192..5436bb23ae557f54ee40fed7955ec7779af1c7f4 100644 |
--- a/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_instance_rpc_server.cc |
+++ b/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_instance_rpc_server.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
// |
@@ -23,7 +23,7 @@ void PpbInstanceRpcServer::PPB_Instance_BindGraphics( |
ppapi_proxy::PPBInstanceInterface()->BindGraphics( |
instance, |
graphics_device); |
- *success = (pp_success == PP_TRUE); |
+ *success = PP_ToBool(pp_success); |
rpc->result = NACL_SRPC_RESULT_OK; |
} |
@@ -40,7 +40,7 @@ void PpbInstanceRpcServer::PPB_Instance_IsFullFrame( |
PP_Bool pp_is_full_frame = |
ppapi_proxy::PPBInstanceInterface()->IsFullFrame(instance); |
- *is_full_frame = (pp_is_full_frame == PP_TRUE); |
+ *is_full_frame = PP_ToBool(pp_is_full_frame); |
rpc->result = NACL_SRPC_RESULT_OK; |
} |