Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit f032b37

Browse files
committed
fix(profiler): Fix API
1 parent c35c113 commit f032b37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/perf/dev_tools_timeline.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class DevToolsTimelineProfiler extends Profiler {
44
final dom.Console console = dom.window.console;
55
String prefix = '';
66

7-
String startTimer(String name, [String extraData]) {
7+
String startTimer(String name, [dynamic extraData]) {
88
console.time('$prefix$name');
99
prefix = '$prefix ';
1010
return name;
@@ -15,7 +15,7 @@ class DevToolsTimelineProfiler extends Profiler {
1515
console.timeEnd('$prefix$name');
1616
}
1717

18-
void markTime(String name, [String extraData]) {
18+
void markTime(String name, [dynamic extraData]) {
1919
console.timeStamp('$prefix$name');
2020
}
2121
}

0 commit comments

Comments
 (0)