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

Unified Diff: ppapi/proxy/ppb_core_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_core_proxy.cc
===================================================================
--- ppapi/proxy/ppb_core_proxy.cc (revision 65343)
+++ ppapi/proxy/ppb_core_proxy.cc (working copy)
@@ -63,8 +63,9 @@
delay_in_ms);
}
-bool IsMainThread() {
- return GetMainThreadMessageLoop()->BelongsToCurrentThread();
+PP_Bool IsMainThread() {
+ return GetMainThreadMessageLoop()->BelongsToCurrentThread() ? PP_TRUE
+ : PP_FALSE;
dmichael(do not use this one) 2010/11/08 15:31:19 Why not use your convenience functions?
}
const PPB_Core core_interface = {

Powered by Google App Engine
This is Rietveld 408576698