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

Unified Diff: chrome/browser/sync_file_system/drive_backend/folder_creator.cc

Issue 610223002: [SyncFS] Use nullptr instead of NULL (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/sync_file_system/drive_backend/folder_creator.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/folder_creator.cc b/chrome/browser/sync_file_system/drive_backend/folder_creator.cc
index 2633204e55fbbc10bcecddffe5cd7010b58a7c86..541f3aa0e3cf0c2596199c1409d7505c352b9be8 100644
--- a/chrome/browser/sync_file_system/drive_backend/folder_creator.cc
+++ b/chrome/browser/sync_file_system/drive_backend/folder_creator.cc
@@ -96,7 +96,7 @@ void FolderCreator::DidListFolders(
return;
}
- const google_apis::FileResource* oldest = NULL;
+ const google_apis::FileResource* oldest = nullptr;
for (size_t i = 0; i < candidates.size(); ++i) {
const google_apis::FileResource& entry = *candidates[i];
if (!entry.IsDirectory() || entry.labels().is_trashed())
@@ -120,7 +120,7 @@ void FolderCreator::DidListFolders(
}
DCHECK(!file_id.empty());
- if (!metadata_database_->FindFileByFileID(file_id, NULL)) {
+ if (!metadata_database_->FindFileByFileID(file_id, nullptr)) {
callback.Run(std::string(), SYNC_FILE_ERROR_NOT_FOUND);
return;
}

Powered by Google App Engine
This is Rietveld 408576698