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

Unified Diff: content/renderer/pepper/ppb_var_deprecated_impl.cc

Issue 384793003: PPAPI: Remove content/renderer/pepper/common.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « content/renderer/pepper/ppb_scrollbar_impl.cc ('k') | content/renderer/pepper/ppb_video_decoder_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/ppb_var_deprecated_impl.cc
diff --git a/content/renderer/pepper/ppb_var_deprecated_impl.cc b/content/renderer/pepper/ppb_var_deprecated_impl.cc
index f8fdd1431bf3eeee3013aae08e4d8ddcdbc05942..bafbada0ddd44d9ba23ee561e9bd9cb390bcee08 100644
--- a/content/renderer/pepper/ppb_var_deprecated_impl.cc
+++ b/content/renderer/pepper/ppb_var_deprecated_impl.cc
@@ -6,7 +6,6 @@
#include <limits>
-#include "content/renderer/pepper/common.h"
#include "content/renderer/pepper/host_globals.h"
#include "content/renderer/pepper/npapi_glue.h"
#include "content/renderer/pepper/npobject_var.h"
@@ -164,12 +163,12 @@ PP_Bool HasProperty(PP_Var var, PP_Var name, PP_Var* exception) {
ObjectAccessorWithIdentifierTryCatch accessor(var, name, exception);
if (accessor.has_exception())
return PP_FALSE;
- return BoolToPPBool(WebBindings::hasProperty(
+ return PP_FromBool(WebBindings::hasProperty(
NULL, accessor.object()->np_object(), accessor.identifier()));
}
bool HasPropertyDeprecated(PP_Var var, PP_Var name, PP_Var* exception) {
- return PPBoolToBool(HasProperty(var, name, exception));
+ return PP_ToBool(HasProperty(var, name, exception));
}
bool HasMethodDeprecated(PP_Var var, PP_Var name, PP_Var* exception) {
« no previous file with comments | « content/renderer/pepper/ppb_scrollbar_impl.cc ('k') | content/renderer/pepper/ppb_video_decoder_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698