Index: webkit/glue/plugins/pepper_file_ref.cc |
diff --git a/webkit/glue/plugins/pepper_file_ref.cc b/webkit/glue/plugins/pepper_file_ref.cc |
index 6068a29304844e6df6fc912b1437132839cb7b07..c1feca15acbc4000972e291363ec2ea86f57a6da 100644 |
--- a/webkit/glue/plugins/pepper_file_ref.cc |
+++ b/webkit/glue/plugins/pepper_file_ref.cc |
@@ -265,6 +265,10 @@ const PPB_FileRef_Dev* FileRef::GetInterface() { |
return &ppb_fileref; |
} |
+FileRef* FileRef::AsFileRef() { |
+ return this; |
+} |
+ |
std::string FileRef::GetName() const { |
if (GetFileSystemType() == PP_FILESYSTEMTYPE_EXTERNAL) { |
FilePath::StringType path = system_path_.value(); |