Index: runtime/lib/isolate.cc |
diff --git a/runtime/lib/isolate.cc b/runtime/lib/isolate.cc |
index affd85d1f278d282196e484747e54871f67e527d..bb80ac12018802761c9d3d13b7be27abe90b5d38 100644 |
--- a/runtime/lib/isolate.cc |
+++ b/runtime/lib/isolate.cc |
@@ -287,6 +287,7 @@ static const char* CanonicalizeUri(Thread* thread, |
Isolate* isolate = thread->isolate(); |
Dart_LibraryTagHandler handler = isolate->library_tag_handler(); |
if (handler != NULL) { |
+ TransitionVMToNative transition(thread); |
Dart_EnterScope(); |
Dart_Handle handle = handler(Dart_kCanonicalizeUrl, |
Api::NewHandle(thread, library.raw()), |