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

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

Issue 9253011: Pepper SRPC proxy style and type nits (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad license to pass presubmit check Created 8 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
Index: ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_find_rpc_server.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_find_rpc_server.cc b/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_find_rpc_server.cc
index a41fe6dde9d8682d515b5f4e0b3e8eb53fca2b5f..e46d494c78ed7acfe19f58036bd4666608bc8fcb 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_find_rpc_server.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_find_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.
//
@@ -31,10 +31,10 @@ void PpbFindRpcServer::PPB_Find_NumberOfFindResultsChanged(
PPBFindInterface()->NumberOfFindResultsChanged(
instance,
total,
- final_result ? PP_TRUE : PP_FALSE);
+ PP_FromBool(final_result));
DebugPrintf("PPB_Find::NumberOfFindResultsChanged: "
- "instance=%"NACL_PRIu32"\n", instance);
+ "instance=%"NACL_PRId32"\n", instance);
rpc->result = NACL_SRPC_RESULT_OK;
}
@@ -49,7 +49,6 @@ void PpbFindRpcServer::PPB_Find_SelectedFindResultChanged(
PPBFindInterface()->SelectedFindResultChanged(instance, index);
DebugPrintf("PPB_Find::SelectedFindResultChanged: "
- "instance=%"NACL_PRIu32"\n", instance);
+ "instance=%"NACL_PRId32"\n", instance);
rpc->result = NACL_SRPC_RESULT_OK;
}
-

Powered by Google App Engine
This is Rietveld 408576698