Index: tools/gn/test_with_scope.cc |
diff --git a/tools/gn/test_with_scope.cc b/tools/gn/test_with_scope.cc |
index 4793f39e4b79c9e22b891042dfda46384cf81b1a..896b5792dfe99ec1e57ff3dc4703c8af4f8246e6 100644 |
--- a/tools/gn/test_with_scope.cc |
+++ b/tools/gn/test_with_scope.cc |
@@ -156,7 +156,7 @@ TestParseInput::TestParseInput(const std::string& input) |
TestParseInput::~TestParseInput() { |
} |
-TestTarget::TestTarget(TestWithScope& setup, |
+TestTarget::TestTarget(const TestWithScope& setup, |
const std::string& label_string, |
Target::OutputType type) |
: Target(setup.settings(), setup.ParseLabel(label_string)) { |