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

Unified Diff: chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc

Issue 2461463002: [Sync] Replacing NULL with nullptr/null throughout sync code. (Closed)
Patch Set: Reverted PROFILE_nullptr mistake. 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: chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc
diff --git a/chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc b/chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc
index 6933225d9087c25f3046004b4b8962aed2fe2d36..bcaa469db3e1662c3ad69de2c3608867a5b10e66 100644
--- a/chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc
+++ b/chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc
@@ -165,10 +165,9 @@ const std::string AutofillSyncPerfTest::IntToValue(int n) {
void ForceSync(int profile) {
static int id = 0;
++id;
- EXPECT_TRUE(
- bookmarks_helper::AddURL(profile, 0,
- bookmarks_helper::IndexedURLTitle(id),
- GURL(bookmarks_helper::IndexedURL(id))) != NULL);
+ EXPECT_TRUE(bookmarks_helper::AddURL(
+ profile, 0, bookmarks_helper::IndexedURLTitle(id),
+ GURL(bookmarks_helper::IndexedURL(id))) != nullptr);
}
IN_PROC_BROWSER_TEST_F(AutofillSyncPerfTest, AutofillProfiles_P0) {

Powered by Google App Engine
This is Rietveld 408576698