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

Unified Diff: ppapi/proxy/ppb_flash_clipboard_proxy.cc

Issue 7237039: Remove PPBoolToBool and BoolToPPBool and use PP_FromBool and PP_ToBool instead. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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/proxy/ppb_flash_clipboard_proxy.cc
===================================================================
--- ppapi/proxy/ppb_flash_clipboard_proxy.cc (revision 91773)
+++ ppapi/proxy/ppb_flash_clipboard_proxy.cc (working copy)
@@ -44,7 +44,7 @@
static_cast<int>(clipboard_type),
static_cast<int>(format),
&result));
- return BoolToPPBool(result);
+ return PP_FromBool(result);
}
PP_Var ReadPlainText(PP_Instance instance_id,
@@ -134,7 +134,7 @@
int clipboard_type,
int format,
bool* result) {
- *result = PPBoolToBool(ppb_flash_clipboard_target()->IsFormatAvailable(
+ *result = PP_ToBool(ppb_flash_clipboard_target()->IsFormatAvailable(
instance_id,
static_cast<PP_Flash_Clipboard_Type>(clipboard_type),
static_cast<PP_Flash_Clipboard_Format>(format)));

Powered by Google App Engine
This is Rietveld 408576698