Index: webkit/plugins/ppapi/ppb_flash_impl.cc |
=================================================================== |
--- webkit/plugins/ppapi/ppb_flash_impl.cc (revision 71973) |
+++ webkit/plugins/ppapi/ppb_flash_impl.cc (working copy) |
@@ -28,7 +28,7 @@ |
namespace { |
-void SetInstanceAlwaysOnTop(PP_Instance pp_instance, bool on_top) { |
+void SetInstanceAlwaysOnTop(PP_Instance pp_instance, PP_Bool on_top) { |
PluginInstance* instance = ResourceTracker::Get()->GetInstance(pp_instance); |
if (!instance) |
return; |
@@ -114,7 +114,7 @@ |
int32_t DeleteModuleLocalFileOrDir(PP_Instance pp_instance, |
const char* path, |
- bool recursive) { |
+ PP_Bool recursive) { |
PluginInstance* instance = ResourceTracker::Get()->GetInstance(pp_instance); |
if (!instance) |
return PP_ERROR_FAILED; |
@@ -192,7 +192,7 @@ |
char* name_copy = new char[size]; |
memcpy(name_copy, name.c_str(), size); |
entry.name = name_copy; |
- entry.is_dir = pepper_contents[i].is_dir; |
+ entry.is_dir = BoolToPPBool(pepper_contents[i].is_dir); |
} |
return PP_OK; |
} |
@@ -207,13 +207,13 @@ |
delete contents; |
} |
-bool NavigateToURL(PP_Instance pp_instance, |
- const char* url, |
- const char* target) { |
+PP_Bool NavigateToURL(PP_Instance pp_instance, |
+ const char* url, |
+ const char* target) { |
PluginInstance* instance = ResourceTracker::Get()->GetInstance(pp_instance); |
if (!instance) |
- return false; |
- return instance->NavigateToURL(url, target); |
+ return PP_FALSE; |
+ return BoolToPPBool(instance->NavigateToURL(url, target)); |
} |
const PPB_Flash ppb_flash = { |