| Index: chrome/browser/ui/webui/screenshot_source.cc
|
| diff --git a/chrome/browser/ui/webui/screenshot_source.cc b/chrome/browser/ui/webui/screenshot_source.cc
|
| index d1bbafbd505833902a74d4c50d614ad50ff6bb34..750941e2bf03a7cf2304270953480cdb6f96fd88 100644
|
| --- a/chrome/browser/ui/webui/screenshot_source.cc
|
| +++ b/chrome/browser/ui/webui/screenshot_source.cc
|
| @@ -246,9 +246,8 @@ void ScreenshotSource::GetSavedScreenshotCallback(
|
| const content::URLDataSource::GotDataCallback& callback,
|
| drive::FileError error,
|
| const base::FilePath& file,
|
| - const std::string& unused_mime_type,
|
| - drive::DriveFileType file_type) {
|
| - if (error != drive::FILE_ERROR_OK || file_type != drive::REGULAR_FILE) {
|
| + scoped_ptr<drive::ResourceEntry> entry) {
|
| + if (error != drive::FILE_ERROR_OK) {
|
| ScreenshotDataPtr read_bytes(new ScreenshotData);
|
| CacheAndSendScreenshot(screenshot_path, callback, read_bytes);
|
| return;
|
|
|