Index: content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc |
diff --git a/content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc b/content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc |
index 20af748898983f54708b3b037c164d79617c4f3b..9dffec4a3578f47a752aeafc18f9f84be5358277 100644 |
--- a/content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc |
+++ b/content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc |
@@ -245,7 +245,7 @@ int32_t PepperFlashFileMessageFilter::OnCreateTemporaryFile( |
base::FilePath validated_dir_path = ValidateAndConvertPepperFilePath( |
dir_path, kReadPermissions | kWritePermissions); |
if (validated_dir_path.empty() || |
- (!file_util::DirectoryExists(validated_dir_path) && |
+ (!base::DirectoryExists(validated_dir_path) && |
!file_util::CreateDirectory(validated_dir_path))) { |
return ppapi::PlatformFileErrorToPepperError( |
base::PLATFORM_FILE_ERROR_ACCESS_DENIED); |