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

Unified Diff: ppapi/cpp/core.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
« no previous file with comments | « no previous file | ppapi/cpp/dev/find_dev.cc » ('j') | ppapi/cpp/dev/find_dev.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/core.cc
===================================================================
--- ppapi/cpp/core.cc (revision 91773)
+++ ppapi/cpp/core.cc (working copy)
@@ -4,7 +4,6 @@
#include "ppapi/cpp/core.h"
-#include "ppapi/cpp/common.h"
#include "ppapi/cpp/completion_callback.h"
namespace pp {
@@ -20,7 +19,7 @@
}
bool Core::IsMainThread() {
- return PPBoolToBool(interface_->IsMainThread());
+ return PP_ToBool(interface_->IsMainThread());
}
} // namespace pp
« no previous file with comments | « no previous file | ppapi/cpp/dev/find_dev.cc » ('j') | ppapi/cpp/dev/find_dev.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698