Index: webkit/plugins/ppapi/ppb_file_ref_impl.cc |
diff --git a/webkit/plugins/ppapi/ppb_file_ref_impl.cc b/webkit/plugins/ppapi/ppb_file_ref_impl.cc |
index 3b39ce642c1a7f008d96c3b938e3ce969109d990..202aa566085308bb87fd0557148cfae88b378bac 100644 |
--- a/webkit/plugins/ppapi/ppb_file_ref_impl.cc |
+++ b/webkit/plugins/ppapi/ppb_file_ref_impl.cc |
@@ -248,11 +248,7 @@ PP_Var PPB_FileRef_Impl::GetAbsolutePath() { |
if (GetFileSystemType() != PP_FILESYSTEMTYPE_EXTERNAL) |
return GetPath(); |
if (!external_path_var_.get()) { |
- PluginModule* plugin_module = ResourceHelper::GetPluginModule(this); |
- if (!plugin_module) |
- return PP_MakeNull(); |
external_path_var_ = new StringVar( |
- plugin_module->pp_module(), |
external_file_system_path_.AsUTF8Unsafe()); |
} |
return external_path_var_->GetPPVar(); |