Index: runtime/vm/report_test.cc |
diff --git a/runtime/vm/report_test.cc b/runtime/vm/report_test.cc |
index 95e469e02c288fb6ef6d44e9b508c3fa6d3702cd..08fbe703faad56cc6c5f4a5b055691fefe20ef0f 100644 |
--- a/runtime/vm/report_test.cc |
+++ b/runtime/vm/report_test.cc |
@@ -19,7 +19,7 @@ TEST_CASE(TraceJSWarning) { |
Script::New(url, source, RawScript::kEvaluateTag)); |
script.Tokenize(String::Handle(String::New(""))); |
{ |
- const intptr_t token_pos = 0; |
+ const TokenPosition token_pos = TokenPosition(0); |
const char* message = "High Voltage"; |
Report::MessageF(Report::kJSWarning, |
script, token_pos, Report::AtLocation, "%s", message); |
@@ -44,7 +44,7 @@ TEST_CASE(TraceJSWarning) { |
} |
} |
{ |
- const intptr_t token_pos = 1; |
+ const TokenPosition token_pos = TokenPosition(1); |
const char* message = "Low Voltage"; |
Report::MessageF(Report::kJSWarning, |
script, token_pos, Report::AtLocation, "%s", message); |