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

Unified Diff: components/sync/syncable/syncable_unittest.cc

Issue 2427803002: [Sync] Replacing NULL with nullptr in code and null in comments for components/sync/ (Closed)
Patch Set: Fixing start of sentence capitlization. Created 4 years, 2 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
« no previous file with comments | « components/sync/syncable/sync_db_util.h ('k') | components/sync/syncable/syncable_write_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/syncable/syncable_unittest.cc
diff --git a/components/sync/syncable/syncable_unittest.cc b/components/sync/syncable/syncable_unittest.cc
index 9ffb772e876e4d14cc166e585737d1f93b6c3003..370dee062e0fa6e92aa0609d301883dc14343cb0 100644
--- a/components/sync/syncable/syncable_unittest.cc
+++ b/components/sync/syncable/syncable_unittest.cc
@@ -115,7 +115,7 @@ TestDirectory::TestDirectory(
Encryptor* encryptor,
const WeakHandle<UnrecoverableErrorHandler>& handler,
TestBackingStore* backing_store)
- : Directory(backing_store, handler, base::Closure(), NULL, NULL),
+ : Directory(backing_store, handler, base::Closure(), nullptr, nullptr),
backing_store_(backing_store) {}
TestDirectory::~TestDirectory() {}
@@ -556,8 +556,8 @@ TEST_F(SyncableDirectoryManagement, TestFileRelease) {
{
Directory dir(new OnDiskDirectoryBackingStore("ScopeTest", path),
- MakeWeakHandle(handler_.GetWeakPtr()), base::Closure(), NULL,
- NULL);
+ MakeWeakHandle(handler_.GetWeakPtr()), base::Closure(),
+ nullptr, nullptr);
DirOpenResult result =
dir.Open("ScopeTest", &delegate_, NullTransactionObserver());
ASSERT_EQ(result, OPENED);
« no previous file with comments | « components/sync/syncable/sync_db_util.h ('k') | components/sync/syncable/syncable_write_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698