Index: tools/gn/config.cc |
diff --git a/tools/gn/config.cc b/tools/gn/config.cc |
index 850d596485891d3dd1f8c68fb9eb65f088dc748f..5b89e2beb020d82ca179e6b866b5a49ae529960b 100644 |
--- a/tools/gn/config.cc |
+++ b/tools/gn/config.cc |
@@ -10,7 +10,8 @@ |
#include "tools/gn/item_tree.h" |
#include "tools/gn/scheduler.h" |
-Config::Config(const Label& label) : Item(label) { |
+Config::Config(const Settings* settings, const Label& label) |
+ : Item(settings, label) { |
} |
Config::~Config() { |
@@ -38,7 +39,7 @@ Config* Config::GetConfig(const Settings* settings, |
ItemNode* node = tree->GetExistingNodeLocked(label); |
Config* config = NULL; |
if (!node) { |
- config = new Config(label); |
+ config = new Config(settings, label); |
node = new ItemNode(config); |
node->set_originally_referenced_from_here(specified_from_here); |
tree->AddNodeLocked(node); |