summaryrefslogtreecommitdiffstats
path: root/chrome/browser/media_galleries/fileapi/native_media_file_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/media_galleries/fileapi/native_media_file_util.cc')
-rw-r--r--chrome/browser/media_galleries/fileapi/native_media_file_util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/media_galleries/fileapi/native_media_file_util.cc b/chrome/browser/media_galleries/fileapi/native_media_file_util.cc
index 50a4286..3ac81063 100644
--- a/chrome/browser/media_galleries/fileapi/native_media_file_util.cc
+++ b/chrome/browser/media_galleries/fileapi/native_media_file_util.cc
@@ -82,7 +82,7 @@ base::File::Error NativeMediaFileUtil::IsMediaFile(
char buffer[net::kMaxBytesToSniff];
// Read as much as net::SniffMimeTypeFromLocalData() will bother looking at.
- int64 len = file.Read(0, buffer, net::kMaxBytesToSniff);
+ int64_t len = file.Read(0, buffer, net::kMaxBytesToSniff);
if (len < 0)
return base::File::FILE_ERROR_FAILED;
@@ -206,7 +206,7 @@ void NativeMediaFileUtil::Touch(
void NativeMediaFileUtil::Truncate(
scoped_ptr<storage::FileSystemOperationContext> context,
const storage::FileSystemURL& url,
- int64 length,
+ int64_t length,
const StatusCallback& callback) {
DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
callback.Run(base::File::FILE_ERROR_SECURITY);