Index: chrome/browser/ui/ash/screenshot_taker.cc |
diff --git a/chrome/browser/ui/ash/screenshot_taker.cc b/chrome/browser/ui/ash/screenshot_taker.cc |
index befe25cb51719935830709388838c56c031d2210..46708fcca60cbbfd510ba2fe5fe3a502eafb8c7c 100644 |
--- a/chrome/browser/ui/ash/screenshot_taker.cc |
+++ b/chrome/browser/ui/ash/screenshot_taker.cc |
@@ -130,9 +130,9 @@ void SaveScreenshot(const FilePath& screenshot_path, |
// TODO(kinaba): crbug.com/140425, remove this ungly #ifdef dispatch. |
#ifdef OS_CHROMEOS |
void SaveScreenshotToGData(scoped_refptr<base::RefCountedBytes> png_data, |
- gdata::GDataFileError error, |
+ gdata::DriveFileError error, |
const FilePath& local_path) { |
- if (error != gdata::GDATA_FILE_OK) { |
+ if (error != gdata::DRIVE_FILE_OK) { |
LOG(ERROR) << "Failed to write screenshot image to Google Drive: " << error; |
return; |
} |