Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(639)

Unified Diff: chrome/browser/chromeos/gdata/gdata_file_system.cc

Issue 10669038: base: Remove dereference structure operator (i.e ->) from ScopedVector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()));
« no previous file with comments | « chrome/browser/chromeos/gdata/drive_webapps_registry.cc ('k') | chrome/browser/chromeos/gdata/gdata_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698