Index: webkit/glue/plugins/pepper_file_chooser.cc |
=================================================================== |
--- webkit/glue/plugins/pepper_file_chooser.cc (revision 51996) |
+++ webkit/glue/plugins/pepper_file_chooser.cc (working copy) |
@@ -34,7 +34,7 @@ |
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 @@ |
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() { |