Index: content/renderer/pepper/pepper_plugin_instance_impl.cc |
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
index 400fb1e5e560e806b8f41822a4801de88e8449e3..967f0ad66a1b7ad6abcbd1be1617db9f0d13f723 100644 |
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
@@ -26,7 +26,6 @@ |
#include "content/public/renderer/content_renderer_client.h" |
#include "content/renderer/compositor_bindings/web_layer_impl.h" |
#include "content/renderer/gpu/render_widget_compositor.h" |
-#include "content/renderer/pepper/common.h" |
#include "content/renderer/pepper/content_decryptor_delegate.h" |
#include "content/renderer/pepper/event_conversion.h" |
#include "content/renderer/pepper/fullscreen_container.h" |
@@ -2848,7 +2847,7 @@ PP_Bool PepperPluginInstanceImpl::DocumentCanRequest(PP_Instance instance, |
if (!gurl.is_valid()) |
return PP_FALSE; |
- return BoolToPPBool(security_origin.canRequest(gurl)); |
+ return PP_FromBool(security_origin.canRequest(gurl)); |
} |
PP_Bool PepperPluginInstanceImpl::DocumentCanAccessDocument( |
@@ -2862,7 +2861,7 @@ PP_Bool PepperPluginInstanceImpl::DocumentCanAccessDocument( |
if (!SecurityOriginForInstance(instance, &target_origin)) |
return PP_FALSE; |
- return BoolToPPBool(our_origin.canAccess(target_origin)); |
+ return PP_FromBool(our_origin.canAccess(target_origin)); |
} |
PP_Var PepperPluginInstanceImpl::GetDocumentURL( |