summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_font_rpc_server.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_font_rpc_server.cc b/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_font_rpc_server.cc
index 69010aee..dffff7f 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_font_rpc_server.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_font_rpc_server.cc
@@ -142,7 +142,8 @@ void PpbFontRpcServer::PPB_Font_DrawTextAt(
reinterpret_cast<struct PP_Point*>(position);
struct PP_Rect* pp_clip =
reinterpret_cast<struct PP_Rect*>(clip);
- PP_Bool pp_image_data_is_opaque = PP_FromBool(image_data_is_opaque);
+ PP_Bool pp_image_data_is_opaque =
+ PP_FromBool(image_data_is_opaque ? true : false);
PP_Bool pp_success = PPBFontInterface()->DrawTextAt(font,
image_data,
pp_text_run,