Index: chrome/browser/chromeos/gdata/gdata_sync_client.cc |
diff --git a/chrome/browser/chromeos/gdata/gdata_sync_client.cc b/chrome/browser/chromeos/gdata/gdata_sync_client.cc |
index 4b42a6710842aadfc432897eb7c91812171fffc6..df8e22f7ae59fb5341753f27ceb143267651936d 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_sync_client.cc |
+++ b/chrome/browser/chromeos/gdata/gdata_sync_client.cc |
@@ -326,7 +326,7 @@ void GDataSyncClient::OnGetEntryInfoByResourceId( |
scoped_ptr<GDataEntryProto> entry_proto) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
- if (!entry_proto->has_file_specific_info()) |
+ if (entry_proto.get() && !entry_proto->has_file_specific_info()) |
error = GDATA_FILE_ERROR_NOT_FOUND; |
if (error != GDATA_FILE_OK) { |