Index: base/metrics/field_trial_unittest.cc |
diff --git a/base/metrics/field_trial_unittest.cc b/base/metrics/field_trial_unittest.cc |
index b474ddb186df91eacb5c59e5b1631890c73a9ba0..5080d65db55b62981d7ec73d7759d693336e2a2b 100644 |
--- a/base/metrics/field_trial_unittest.cc |
+++ b/base/metrics/field_trial_unittest.cc |
@@ -78,8 +78,8 @@ class FieldTrialTest : public testing::Test { |
// Test registration, and also check that destructors are called for trials |
// (and that Valgrind doesn't catch us leaking). |
TEST_F(FieldTrialTest, Registration) { |
- const char* name1 = "name 1 test"; |
- const char* name2 = "name 2 test"; |
+ const char name1[] = "name 1 test"; |
+ const char name2[] = "name 2 test"; |
EXPECT_FALSE(FieldTrialList::Find(name1)); |
EXPECT_FALSE(FieldTrialList::Find(name2)); |