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

Unified Diff: content/common/page_state_serialization_unittest.cc

Issue 649533003: C++11 declares a type safe null pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Presubmit errors Created 6 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 | « content/common/page_state_serialization.cc ('k') | content/common/plugin_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/page_state_serialization_unittest.cc
diff --git a/content/common/page_state_serialization_unittest.cc b/content/common/page_state_serialization_unittest.cc
index 3c25bccd565b74e2ea13ee9db99fc480a5fc131b..e17181c6c800c66e5ac89f2018d818e51960dc8e 100644
--- a/content/common/page_state_serialization_unittest.cc
+++ b/content/common/page_state_serialization_unittest.cc
@@ -96,7 +96,7 @@ class PageStateSerializationTest : public testing::Test {
frame_state->referrer = NS16("https://www.google.com/search?q=dev.chromium.org");
frame_state->referrer_policy = blink::WebReferrerPolicyAlways;
frame_state->target = NS16("foo");
- frame_state->state_object = NS16(NULL);
+ frame_state->state_object = NS16(nullptr);
frame_state->document_state.push_back(NS16("1"));
frame_state->document_state.push_back(NS16("q"));
frame_state->document_state.push_back(NS16("text"));
« no previous file with comments | « content/common/page_state_serialization.cc ('k') | content/common/plugin_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698