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

Unified Diff: components/sync/engine_impl/directory_update_handler_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
Index: components/sync/engine_impl/directory_update_handler_unittest.cc
diff --git a/components/sync/engine_impl/directory_update_handler_unittest.cc b/components/sync/engine_impl/directory_update_handler_unittest.cc
index f400278b21cac87a6a983f2c0bdf92b4614b63ba..64a4e20a474a34a676f098e9d97f06c5cf512919 100644
--- a/components/sync/engine_impl/directory_update_handler_unittest.cc
+++ b/components/sync/engine_impl/directory_update_handler_unittest.cc
@@ -736,7 +736,7 @@ TEST_F(DirectoryUpdateHandlerApplyUpdateTest, BookmarkFolderLoop) {
// Item 'Y' is child of 'X'.
entry_factory()->CreateUnsyncedItem(TestIdFactory::MakeServer("Y"),
TestIdFactory::MakeServer("X"), "Y", true,
- BOOKMARKS, NULL);
+ BOOKMARKS, nullptr);
// If the server's update were applied, we would have X be a child of Y, and Y
// as a child of X. That's a directory loop. The UpdateApplicator should
@@ -819,7 +819,7 @@ TEST_F(DirectoryUpdateHandlerApplyUpdateTest,
// Create a local child of the server-deleted directory.
entry_factory()->CreateUnsyncedItem(TestIdFactory::MakeServer("child"),
TestIdFactory::MakeServer("parent"),
- "child", false, BOOKMARKS, NULL);
+ "child", false, BOOKMARKS, nullptr);
// The server's request to delete the directory must be ignored, otherwise our
// unsynced new child would be orphaned. This is a hierarchy conflict.
« no previous file with comments | « components/sync/engine_impl/directory_commit_contribution.h ('k') | components/sync/engine_impl/js_mutation_event_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698