| Index: runtime/lib/isolate.cc
|
| diff --git a/runtime/lib/isolate.cc b/runtime/lib/isolate.cc
|
| index a7fe49ac1a9627337b20b3c8cdf1ee53d5b94fef..daa9791675541334e873184f793257fc557cfc15 100644
|
| --- a/runtime/lib/isolate.cc
|
| +++ b/runtime/lib/isolate.cc
|
| @@ -273,8 +273,8 @@ static char* CanonicalizeUri(Thread* thread,
|
| if (handler != NULL) {
|
| Dart_EnterScope();
|
| Dart_Handle handle = handler(Dart_kCanonicalizeUrl,
|
| - Api::NewHandle(isolate, library.raw()),
|
| - Api::NewHandle(isolate, uri.raw()));
|
| + Api::NewHandle(thread, library.raw()),
|
| + Api::NewHandle(thread, uri.raw()));
|
| const Object& obj = Object::Handle(Api::UnwrapHandle(handle));
|
| if (obj.IsString()) {
|
| result = String2UTF8(String::Cast(obj));
|
|
|