Index: chrome/browser/chromeos/gdata/drive_task_executor.cc |
diff --git a/chrome/browser/chromeos/gdata/drive_task_executor.cc b/chrome/browser/chromeos/gdata/drive_task_executor.cc |
index 69c705e7e7497a9ff5e445f2abc93b114c8c9568..401e86e5b269697756cadb7b451b674e9bd31bd4 100644 |
--- a/chrome/browser/chromeos/gdata/drive_task_executor.cc |
+++ b/chrome/browser/chromeos/gdata/drive_task_executor.cc |
@@ -91,7 +91,7 @@ void DriveTaskExecutor::OnFileEntryFetched( |
gdata::GDataSystemServiceFactory::GetForProfile(profile()); |
// Here, we are only insterested in files. |
- if (!entry_proto->has_file_specific_info()) |
+ if (entry_proto.get() && !entry_proto->has_file_specific_info()) |
error = gdata::GDATA_FILE_ERROR_NOT_FOUND; |
if (!system_service || error != GDATA_FILE_OK) { |