Index: chrome/browser/chromeos/gdata/gdata_util.cc |
diff --git a/chrome/browser/chromeos/gdata/gdata_util.cc b/chrome/browser/chromeos/gdata/gdata_util.cc |
index b69f120bfec7f6e622376223e957d1ceb4811cce..5c6a162cbe898fd484e387b54a86d902999aa33f 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_util.cc |
+++ b/chrome/browser/chromeos/gdata/gdata_util.cc |
@@ -240,7 +240,8 @@ void InsertGDataCachePathsPermissions( |
return; |
GDataFileProperties file_properties; |
- file_system->GetFileInfoByPath(gdata_path, &file_properties); |
+ if (!file_system->GetFileInfoByPath(gdata_path, &file_properties)) |
+ return; |
std::string resource_id = file_properties.resource_id; |
std::string file_md5 = file_properties.file_md5; |