Chromium Code Reviews| Index: runtime/vm/exceptions.cc |
| =================================================================== |
| --- runtime/vm/exceptions.cc (revision 10615) |
| +++ runtime/vm/exceptions.cc (working copy) |
| @@ -207,8 +207,7 @@ |
| ASSERT(caller_frame != NULL && caller_frame->IsDartFrame()); |
| const Function& caller = Function::Handle(caller_frame->LookupDartFunction()); |
| ASSERT(!caller.IsNull()); |
| - const Class& caller_class = Class::Handle(caller.owner()); |
| - return caller_class.script(); |
| + return caller.script(); |
| } |