Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index e645678ff9011c38b5d45fe26e1c2646ceb620f3..5680acf4b07b962c25efa1906d60ad6c7a289894 100644 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -1367,7 +1367,7 @@ void TestParserSyncWithFlags(i::Handle<i::String> source, |
} |
// Check that preparser and parser produce the same error. |
i::Handle<i::String> preparser_message = FormatMessage(&data); |
- if (!message_string->Equals(*preparser_message)) { |
+ if (!i::String::Equals(message_string, preparser_message)) { |
i::OS::Print( |
"Expected parser and preparser to produce the same error on:\n" |
"\t%s\n" |