summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/pepper_file_chooser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/plugins/pepper_file_chooser.cc')
-rw-r--r--webkit/glue/plugins/pepper_file_chooser.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/plugins/pepper_file_chooser.cc b/webkit/glue/plugins/pepper_file_chooser.cc
index a2e96b2..6c4c72a 100644
--- a/webkit/glue/plugins/pepper_file_chooser.cc
+++ b/webkit/glue/plugins/pepper_file_chooser.cc
@@ -34,7 +34,7 @@ int32_t Show(PP_Resource chooser_id, PP_CompletionCallback callback) {
scoped_refptr<FileChooser> chooser(
Resource::GetAs<FileChooser>(chooser_id).get());
if (!chooser.get())
- return PP_Error_BadResource;
+ return PP_ERROR_BADRESOURCE;
return chooser->Show(callback);
}
@@ -79,7 +79,7 @@ const PPB_FileChooser* FileChooser::GetInterface() {
int32_t FileChooser::Show(PP_CompletionCallback callback) {
NOTIMPLEMENTED(); // TODO(darin): Implement me!
- return PP_Error_Failed;
+ return PP_ERROR_FAILED;
}
scoped_refptr<FileRef> FileChooser::GetNextChosenFile() {