Index: tools/gn/functions.cc |
diff --git a/tools/gn/functions.cc b/tools/gn/functions.cc |
index acc8fe930bb28ed557d86c3d3b5d44b7551f832d..0e2729771c3f8e95267b1782203060a1237b3bd4 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, |