Index: tools/gn/functions_unittest.cc |
diff --git a/tools/gn/functions_unittest.cc b/tools/gn/functions_unittest.cc |
index e506b6874b6dbee2c24e96db54fa622d67878d64..82173edac8bc347342d778b7f00f07e7c83bf345 100644 |
--- a/tools/gn/functions_unittest.cc |
+++ b/tools/gn/functions_unittest.cc |
@@ -26,9 +26,9 @@ TEST(Functions, Defined) { |
// Define a value that's itself a scope value. |
const char kDef[] = "def"; // Defined variable name. |
- setup.scope()->SetValue(kDef, |
- Value(NULL, scoped_ptr<Scope>(new Scope(setup.scope()))), |
- NULL); |
+ setup.scope()->SetValue( |
+ kDef, Value(nullptr, scoped_ptr<Scope>(new Scope(setup.scope()))), |
+ nullptr); |
// Test the defined identifier. |
Token defined_token(Location(), Token::IDENTIFIER, kDef); |