Index: chrome/browser/browsing_data_file_system_helper.cc |
diff --git a/chrome/browser/browsing_data_file_system_helper.cc b/chrome/browser/browsing_data_file_system_helper.cc |
index 4e3fea9b1bb0b9338b195d351e29d030ce96590b..065645b5a8612a14533ff838070c01e7fb51adca 100644 |
--- a/chrome/browser/browsing_data_file_system_helper.cc |
+++ b/chrome/browser/browsing_data_file_system_helper.cc |
@@ -155,9 +155,7 @@ void BrowsingDataFileSystemHelperImpl::NotifyInUIThread() { |
void BrowsingDataFileSystemHelperImpl::DeleteFileSystemOriginInFileThread( |
const GURL& origin) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); |
- scoped_refptr<fileapi::FileSystemContext> |
- context(profile_->GetFileSystemContext()); |
- context->DeleteDataForOriginOnFileThread(origin); |
+ profile_->GetFileSystemContext()->DeleteDataForOriginOnFileThread(origin); |
} |
} // namespace |