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 = { |