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

Unified Diff: chrome/browser/chromeos/drive/search_metadata.cc

Issue 16998003: Update CrOS to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 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/drive/search_metadata.cc
diff --git a/chrome/browser/chromeos/drive/search_metadata.cc b/chrome/browser/chromeos/drive/search_metadata.cc
index d2007a57fdabd812b61bf27b90a9a46e6f57fd8e..9df8abba920e5937e3a0ed4c157464b217de4e8c 100644
--- a/chrome/browser/chromeos/drive/search_metadata.cc
+++ b/chrome/browser/chromeos/drive/search_metadata.cc
@@ -198,16 +198,15 @@ void SearchMetadata(
// TODO(hashimoto): Report error code from ResourceMetadata::IterateEntries
// and stop binding FILE_ERROR_OK to |callback|.
- base::PostTaskAndReplyWithResult(
- blocking_task_runner,
- FROM_HERE,
- base::Bind(&SearchMetadataOnBlockingPool,
- resource_metadata,
- cache,
- query,
- options,
- at_most_num_matches),
- base::Bind(callback, FILE_ERROR_OK));
+ base::PostTaskAndReplyWithResult(blocking_task_runner.get(),
+ FROM_HERE,
+ base::Bind(&SearchMetadataOnBlockingPool,
+ resource_metadata,
+ cache,
+ query,
+ options,
+ at_most_num_matches),
+ base::Bind(callback, FILE_ERROR_OK));
}
bool FindAndHighlight(const std::string& text,
« no previous file with comments | « chrome/browser/chromeos/drive/resource_metadata.cc ('k') | chrome/browser/chromeos/drive/search_metadata_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698