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

Unified Diff: tools/gn/config.cc

Issue 51693002: GN: toolchain threading cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « tools/gn/config.h ('k') | tools/gn/function_exec_script.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « tools/gn/config.h ('k') | tools/gn/function_exec_script.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698