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

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

Issue 18308004: 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/file_cache.cc
diff --git a/chrome/browser/chromeos/drive/file_cache.cc b/chrome/browser/chromeos/drive/file_cache.cc
index 2fbce2179750379950e7393a90a7295bcb260440..2fb3fbb542713014b13afcdaaf71083c665f09f7 100644
--- a/chrome/browser/chromeos/drive/file_cache.cc
+++ b/chrome/browser/chromeos/drive/file_cache.cc
@@ -816,7 +816,7 @@ bool FileCache::ImportOldDB(const base::FilePath& old_db_path) {
// Copy all entries stored in the old DB.
bool imported = false;
{
- FileCacheMetadata old_data(blocking_task_runner_);
+ FileCacheMetadata old_data(blocking_task_runner_.get());
if (old_data.Initialize(old_db_path) ==
FileCacheMetadata::INITIALIZE_OPENED) {
scoped_ptr<FileCacheMetadata::Iterator> it = old_data.GetIterator();
« no previous file with comments | « chrome/browser/chromeos/drive/drive_url_request_job_unittest.cc ('k') | chrome/browser/chromeos/drive/file_cache_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698