Index: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_zoom_rpc_server.cc |
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_zoom_rpc_server.cc b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_zoom_rpc_server.cc |
index ac079b4099b787e6120dbff501f2695ce5aec964..c5a4b8bc9e426a0bb5c32faba9acd5efc6c44be3 100644 |
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_zoom_rpc_server.cc |
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_zoom_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. |
// |
@@ -28,7 +28,7 @@ void PppZoomRpcServer::PPP_Zoom_Zoom( |
rpc->result = NACL_SRPC_RESULT_APP_ERROR; |
NaClSrpcClosureRunner runner(done); |
- PPPZoomInterface()->Zoom(instance, factor, text_only ? PP_TRUE : PP_FALSE); |
+ PPPZoomInterface()->Zoom(instance, factor, PP_FromBool(text_only)); |
DebugPrintf("PPP_Zoom::Zoom"); |
rpc->result = NACL_SRPC_RESULT_OK; |