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

Unified Diff: ppapi/cpp/core.cc

Issue 4310002: Make PPAPI headers compile with C compilers (gcc on Linux & Mac and MSVS on W... (Closed) Base URL: svn://svn.chromium.org/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
« no previous file with comments | « ppapi/cpp/common.h ('k') | ppapi/cpp/dev/file_ref_dev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/core.cc
===================================================================
--- ppapi/cpp/core.cc (revision 65116)
+++ ppapi/cpp/core.cc (working copy)
@@ -4,6 +4,7 @@
#include "ppapi/cpp/core.h"
+#include "ppapi/cpp/common.h"
#include "ppapi/cpp/completion_callback.h"
namespace pp {
@@ -19,7 +20,7 @@
}
bool Core::IsMainThread() {
- return interface_->IsMainThread();
+ return PPBoolToBool(interface_->IsMainThread());
}
} // namespace pp
« no previous file with comments | « ppapi/cpp/common.h ('k') | ppapi/cpp/dev/file_ref_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698