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

Unified Diff: ppapi/proxy/ppb_testing_proxy.cc

Issue 4659001: Convert Chrome PPAPI proxy from bool to PP_Bool. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 1 month 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/proxy/ppb_testing_proxy.cc
===================================================================
--- ppapi/proxy/ppb_testing_proxy.cc (revision 65343)
+++ ppapi/proxy/ppb_testing_proxy.cc (working copy)
@@ -14,10 +14,10 @@
namespace {
-bool ReadImageData(PP_Resource device_context_2d,
- PP_Resource image,
- const PP_Point* top_left) {
- bool result = false;
+PP_Bool ReadImageData(PP_Resource device_context_2d,
+ PP_Resource image,
+ const PP_Point* top_left) {
+ PP_Bool result = PP_FALSE;
PluginDispatcher::Get()->Send(new PpapiHostMsg_PPBTesting_ReadImageData(
INTERFACE_ID_PPB_TESTING, device_context_2d, image, *top_left, &result));
return result;
@@ -82,7 +82,7 @@
void PPB_Testing_Proxy::OnMsgReadImageData(PP_Resource device_context_2d,
PP_Resource image,
const PP_Point& top_left,
- bool* result) {
+ PP_Bool* result) {
*result = ppb_testing_target()->ReadImageData(
device_context_2d, image, &top_left);
}

Powered by Google App Engine
This is Rietveld 408576698