| Index: chrome/browser/browsing_data/browsing_data_file_system_helper.cc
|
| diff --git a/chrome/browser/browsing_data/browsing_data_file_system_helper.cc b/chrome/browser/browsing_data/browsing_data_file_system_helper.cc
|
| index 049ba79f691338d04d39c09a54521dbbb1414c09..d5c16d2999735fb99c35a271145416addadabdd9 100644
|
| --- a/chrome/browser/browsing_data/browsing_data_file_system_helper.cc
|
| +++ b/chrome/browser/browsing_data/browsing_data_file_system_helper.cc
|
| @@ -82,7 +82,7 @@ BrowsingDataFileSystemHelperImpl::BrowsingDataFileSystemHelperImpl(
|
| fileapi::FileSystemContext* filesystem_context)
|
| : filesystem_context_(filesystem_context),
|
| is_fetching_(false) {
|
| - DCHECK(filesystem_context_);
|
| + DCHECK(filesystem_context_.get());
|
| }
|
|
|
| BrowsingDataFileSystemHelperImpl::~BrowsingDataFileSystemHelperImpl() {
|
| @@ -132,14 +132,11 @@ void BrowsingDataFileSystemHelperImpl::FetchFileSystemInfoInFileThread() {
|
| // We can call these synchronous methods as we've already verified that
|
| // we're running on the FILE thread.
|
| int64 persistent_usage = quota_util->GetOriginUsageOnFileThread(
|
| - filesystem_context_, current,
|
| - fileapi::kFileSystemTypePersistent);
|
| + filesystem_context_.get(), current, fileapi::kFileSystemTypePersistent);
|
| int64 temporary_usage = quota_util->GetOriginUsageOnFileThread(
|
| - filesystem_context_, current,
|
| - fileapi::kFileSystemTypeTemporary);
|
| + filesystem_context_.get(), current, fileapi::kFileSystemTypeTemporary);
|
| int64 syncable_usage = quota_util->GetOriginUsageOnFileThread(
|
| - filesystem_context_, current,
|
| - fileapi::kFileSystemTypeSyncable);
|
| + filesystem_context_.get(), current, fileapi::kFileSystemTypeSyncable);
|
| file_system_info_.push_back(
|
| FileSystemInfo(
|
| current,
|
|
|