| Index: chrome/browser/chromeos/file_manager/snapshot_manager.cc
|
| diff --git a/chrome/browser/chromeos/file_manager/snapshot_manager.cc b/chrome/browser/chromeos/file_manager/snapshot_manager.cc
|
| index 57fd74477408fdcabdcc3f75854cbcdec407a30f..edecdd140bfec004f2fa4fb55a5d481010be9c23 100644
|
| --- a/chrome/browser/chromeos/file_manager/snapshot_manager.cc
|
| +++ b/chrome/browser/chromeos/file_manager/snapshot_manager.cc
|
| @@ -128,7 +128,7 @@ void SnapshotManager::CreateManagedSnapshot(
|
| const LocalPathCallback& callback) {
|
| scoped_refptr<storage::FileSystemContext> context(
|
| util::GetFileSystemContextForExtensionId(profile_, kFileManagerAppId));
|
| - DCHECK(context);
|
| + DCHECK(context.get());
|
|
|
| GURL url;
|
| if (!util::ConvertAbsoluteFilePathToFileSystemUrl(
|
| @@ -151,7 +151,7 @@ void SnapshotManager::CreateManagedSnapshotAfterSpaceComputed(
|
| int64 needed_space) {
|
| scoped_refptr<storage::FileSystemContext> context(
|
| util::GetFileSystemContextForExtensionId(profile_, kFileManagerAppId));
|
| - DCHECK(context);
|
| + DCHECK(context.get());
|
|
|
| if (needed_space < 0) {
|
| callback.Run(base::FilePath());
|
|
|