Index: ppapi/shared_impl/file_ref_impl.cc |
diff --git a/ppapi/shared_impl/file_ref_impl.cc b/ppapi/shared_impl/file_ref_impl.cc |
index 274d944b1b86d05a78fbc2c474dbd8913f1c2617..e2d8f8bc7b808f346a07f526e2aac8c25a476ee8 100644 |
--- a/ppapi/shared_impl/file_ref_impl.cc |
+++ b/ppapi/shared_impl/file_ref_impl.cc |
@@ -5,7 +5,6 @@ |
#include "ppapi/shared_impl/file_ref_impl.h" |
#include "base/logging.h" |
-#include "ppapi/shared_impl/ppapi_globals.h" |
#include "ppapi/shared_impl/var.h" |
namespace ppapi { |
@@ -40,9 +39,7 @@ PP_FileSystemType FileRefImpl::GetFileSystemType() const { |
PP_Var FileRefImpl::GetName() const { |
if (!name_var_.get()) { |
- name_var_ = new StringVar( |
- PpapiGlobals::Get()->GetModuleForInstance(pp_instance()), |
- create_info_.name); |
+ name_var_ = new StringVar(create_info_.name); |
} |
return name_var_->GetPPVar(); |
} |
@@ -51,9 +48,7 @@ PP_Var FileRefImpl::GetPath() const { |
if (create_info_.file_system_type == PP_FILESYSTEMTYPE_EXTERNAL) |
return PP_MakeUndefined(); |
if (!path_var_.get()) { |
- path_var_ = new StringVar( |
- PpapiGlobals::Get()->GetModuleForInstance(pp_instance()), |
- create_info_.path); |
+ path_var_ = new StringVar(create_info_.path); |
} |
return path_var_->GetPPVar(); |
} |