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

Unified Diff: chrome/browser/chromeos/file_manager/snapshot_manager.cc

Issue 564503002: Remove implicit conversions from scoped_refptr to T* in c/b/chromeos/file* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/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());

Powered by Google App Engine
This is Rietveld 408576698