summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/ppb_file_ref_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/plugins/ppapi/ppb_file_ref_impl.cc')
-rw-r--r--webkit/plugins/ppapi/ppb_file_ref_impl.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/webkit/plugins/ppapi/ppb_file_ref_impl.cc b/webkit/plugins/ppapi/ppb_file_ref_impl.cc
index aa0f2ed..245ab8d 100644
--- a/webkit/plugins/ppapi/ppb_file_ref_impl.cc
+++ b/webkit/plugins/ppapi/ppb_file_ref_impl.cc
@@ -136,13 +136,14 @@ PP_Var PPB_FileRef_Impl::GetName() const {
result = virtual_path_.substr(pos + 1);
}
- return StringVar::StringToPPVar(instance()->module(), result);
+ return StringVar::StringToPPVar(instance()->module()->pp_module(), result);
}
PP_Var PPB_FileRef_Impl::GetPath() const {
if (GetFileSystemType() == PP_FILESYSTEMTYPE_EXTERNAL)
return PP_MakeUndefined();
- return StringVar::StringToPPVar(instance()->module(), virtual_path_);
+ return StringVar::StringToPPVar(instance()->module()->pp_module(),
+ virtual_path_);
}
PP_Resource PPB_FileRef_Impl::GetParent() {