Index: base/test/trace_event_analyzer_unittest.cc |
diff --git a/base/test/trace_event_analyzer_unittest.cc b/base/test/trace_event_analyzer_unittest.cc |
index 56045089222500e80848267b30325b81d9b23040..0edeb141eafafa4061df6d2c74ec9c6eb71ce975 100644 |
--- a/base/test/trace_event_analyzer_unittest.cc |
+++ b/base/test/trace_event_analyzer_unittest.cc |
@@ -86,7 +86,7 @@ TEST_F(TraceEventAnalyzerTest, TraceEvent) { |
int int_num = 2; |
double double_num = 3.5; |
- const char* str = "the string"; |
+ const char str[] = "the string"; |
TraceEvent event; |
event.arg_numbers["false"] = 0.0; |
@@ -508,7 +508,7 @@ TEST_F(TraceEventAnalyzerTest, BeginEndAssocations) { |
TEST_F(TraceEventAnalyzerTest, MergeAssociatedEventArgs) { |
ManualSetUp(); |
- const char* arg_string = "arg_string"; |
+ const char arg_string[] = "arg_string"; |
BeginTracing(); |
{ |
TRACE_EVENT_BEGIN0("cat1", "name1"); |