| Index: runtime/vm/profiler_service.cc
|
| diff --git a/runtime/vm/profiler_service.cc b/runtime/vm/profiler_service.cc
|
| index 5c3efa6790a01c34b13df37fd3b6550c9df130ce..c0ac69d47b2166490ad000d93c1bdebaa5be0c2d 100644
|
| --- a/runtime/vm/profiler_service.cc
|
| +++ b/runtime/vm/profiler_service.cc
|
| @@ -2539,7 +2539,7 @@ const char* ProfileTrieWalker::CurrentToken() {
|
| return NULL;
|
| }
|
| ProfileFunction* func = profile_->GetFunction(current_->table_index());
|
| - const Function& function = Function::Handle(func->function()->raw());
|
| + const Function& function = *(func->function());
|
| if (function.IsNull()) {
|
| // No function.
|
| return NULL;
|
|
|