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

Unified Diff: components/sync/test/fake_server/android/fake_server_helper_android.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/test/fake_server/android/fake_server_helper_android.cc
diff --git a/components/sync/test/fake_server/android/fake_server_helper_android.cc b/components/sync/test/fake_server/android/fake_server_helper_android.cc
index 00fdf48899a12256e732393a0fc99cdfc363d1d7..6ce249c1f8d9824f98428d35a78e68ac51ab03b2 100644
--- a/components/sync/test/fake_server/android/fake_server_helper_android.cc
+++ b/components/sync/test/fake_server/android/fake_server_helper_android.cc
@@ -173,7 +173,7 @@ void FakeServerHelperAndroid::DeserializeEntitySpecifics(
sync_pb::EntitySpecifics* entity_specifics) {
int specifics_bytes_length = env->GetArrayLength(serialized_entity_specifics);
jbyte* specifics_bytes =
- env->GetByteArrayElements(serialized_entity_specifics, NULL);
+ env->GetByteArrayElements(serialized_entity_specifics, nullptr);
std::string specifics_string(reinterpret_cast<char*>(specifics_bytes),
specifics_bytes_length);
« no previous file with comments | « components/sync/test/engine/mock_connection_manager.cc ('k') | components/sync/test/fake_server/bookmark_entity_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698