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

Unified Diff: chrome/browser/chromeos/drive/drive_integration_service.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/drive_integration_service.cc
diff --git a/chrome/browser/chromeos/drive/drive_integration_service.cc b/chrome/browser/chromeos/drive/drive_integration_service.cc
index 7978b7269d4391a4205a32bb12d925d5d44d86dd..3ec76c1300d381cfd96b7f4a5ad940ab7e89b5d1 100644
--- a/chrome/browser/chromeos/drive/drive_integration_service.cc
+++ b/chrome/browser/chromeos/drive/drive_integration_service.cc
@@ -157,14 +157,14 @@ DriveIntegrationService::DriveIntegrationService(
} else if (util::IsDriveV2ApiEnabled()) {
drive_service_.reset(new DriveAPIService(
g_browser_process->system_request_context(),
- blocking_task_runner_,
+ blocking_task_runner_.get(),
GURL(google_apis::DriveApiUrlGenerator::kBaseUrlForProduction),
GURL(google_apis::DriveApiUrlGenerator::kBaseDownloadUrlForProduction),
GetDriveUserAgent()));
} else {
drive_service_.reset(new GDataWapiService(
g_browser_process->system_request_context(),
- blocking_task_runner_,
+ blocking_task_runner_.get(),
GURL(google_apis::GDataWapiUrlGenerator::kBaseUrlForProduction),
GURL(google_apis::GDataWapiUrlGenerator::kBaseDownloadUrlForProduction),
GetDriveUserAgent()));
@@ -210,7 +210,7 @@ void DriveIntegrationService::Initialize() {
file_system_->Initialize();
base::PostTaskAndReplyWithResult(
- blocking_task_runner_,
+ blocking_task_runner_.get(),
FROM_HERE,
base::Bind(&InitializeMetadata,
cache_root_directory_,

Powered by Google App Engine
This is Rietveld 408576698