Index: chrome/browser/chromeos/gdata/gdata_protocol_handler.cc |
diff --git a/chrome/browser/chromeos/gdata/gdata_protocol_handler.cc b/chrome/browser/chromeos/gdata/gdata_protocol_handler.cc |
index cdcef65fa1f0993ed3bf20cd83eb3be7a17aa4b2..86395f7a15ca02790559655953c16f91be21426a 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_protocol_handler.cc |
+++ b/chrome/browser/chromeos/gdata/gdata_protocol_handler.cc |
@@ -511,7 +511,7 @@ void GDataURLRequestJob::OnGetEntryInfoByResourceId( |
GDataFileError error, |
const FilePath& gdata_file_path, |
scoped_ptr<GDataEntryProto> entry_proto) { |
- 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) { |