Index: chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc |
diff --git a/chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc b/chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc |
index 9ae76253c3bb4db6d4584970202449ed06684405..a377da6f056398849d1c541b2fd5c75861b2210b 100644 |
--- a/chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc |
+++ b/chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc |
@@ -120,13 +120,9 @@ void SupportedImageTypeValidator::StartPostWriteValidation( |
const base::FilePath& dest_platform_path, |
const ResultCallback& result_callback) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
- post_write_callback_ = result_callback; |
// TODO(gbillock): Insert AV call here in the right validator. |
- BrowserThread::PostTask( |
- BrowserThread::IO, |
- FROM_HERE, |
- base::Bind(post_write_callback_, base::PLATFORM_FILE_OK)); |
+ result_callback.Run(base::PLATFORM_FILE_OK); |
Lei Zhang
2013/08/08 00:08:02
Need to rebase now that https://codereview.chromiu
vandebo (ex-Chrome)
2013/08/08 17:34:01
Done.
|
} |
SupportedImageTypeValidator::SupportedImageTypeValidator( |