summaryrefslogtreecommitdiffstats
path: root/tools/gn/functions.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gn/functions.cc')
-rw-r--r--tools/gn/functions.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gn/functions.cc b/tools/gn/functions.cc
index acc8fe9..0e27297 100644
--- a/tools/gn/functions.cc
+++ b/tools/gn/functions.cc
@@ -134,7 +134,7 @@ bool EnsureSingleStringArg(const FunctionCallNode* function,
}
const Label& ToolchainLabelForScope(const Scope* scope) {
- return scope->settings()->toolchain()->label();
+ return scope->settings()->toolchain_label();
}
Label MakeLabelForScope(const Scope* scope,