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

Unified Diff: ppapi/proxy/ppb_url_response_info_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_url_response_info_proxy.cc
===================================================================
--- ppapi/proxy/ppb_url_response_info_proxy.cc (revision 65343)
+++ ppapi/proxy/ppb_url_response_info_proxy.cc (working copy)
@@ -27,9 +27,9 @@
namespace {
-bool IsURLResponseInfo(PP_Resource resource) {
+PP_Bool IsURLResponseInfo(PP_Resource resource) {
URLResponseInfo* object = PluginResource::GetAs<URLResponseInfo>(resource);
- return !!object;
+ return BoolToPPBool(!!object);
}
PP_Var GetProperty(PP_Resource response, PP_URLResponseProperty_Dev property) {

Powered by Google App Engine
This is Rietveld 408576698