| Index: chrome/browser/chromeos/gdata/gdata_file_system.cc
|
| diff --git a/chrome/browser/chromeos/gdata/gdata_file_system.cc b/chrome/browser/chromeos/gdata/gdata_file_system.cc
|
| index 12d56acf5a23df37bd92670218039668c13ede0b..7433062f2f44744622da3a2eae0237732dd0f89a 100644
|
| --- a/chrome/browser/chromeos/gdata/gdata_file_system.cc
|
| +++ b/chrome/browser/chromeos/gdata/gdata_file_system.cc
|
| @@ -2449,7 +2449,7 @@ void GDataFileSystem::OnSearch(const SearchCallback& callback,
|
| // Go through all entires generated by the feed and add them to the search
|
| // result directory.
|
| for (size_t i = 0; i < feed->entries().size(); ++i){
|
| - DocumentEntry* doc = feed->entries()->at(i);
|
| + DocumentEntry* doc = const_cast<DocumentEntry*>(feed->entries()[i]);
|
| scoped_ptr<GDataEntry> entry(
|
| GDataEntry::FromDocumentEntry(NULL, doc, root_.get()));
|
|
|
|
|