Index: webkit/glue/plugins/pepper_file_chooser.cc |
diff --git a/webkit/glue/plugins/pepper_file_chooser.cc b/webkit/glue/plugins/pepper_file_chooser.cc |
index 2b5479092661c1e272755d86c212224a9211743b..52f2b554f44e38487822413a9b31b5e2b4dd4e4b 100644 |
--- a/webkit/glue/plugins/pepper_file_chooser.cc |
+++ b/webkit/glue/plugins/pepper_file_chooser.cc |
@@ -119,6 +119,10 @@ const PPB_FileChooser_Dev* FileChooser::GetInterface() { |
return &ppb_filechooser; |
} |
+FileChooser* FileChooser::AsFileChooser() { |
+ return this; |
+} |
+ |
void FileChooser::StoreChosenFiles(const std::vector<std::string>& files) { |
next_chosen_file_index_ = 0; |
std::vector<std::string>::const_iterator end_it = files.end(); |