Index: runtime/vm/dart_api_impl.h |
diff --git a/runtime/vm/dart_api_impl.h b/runtime/vm/dart_api_impl.h |
index dd5920d0539eb09c5bdbebd2dffb7ba3b15e993d..76b3abae27f2a92bebeb045c1b58d17eac6304b6 100644 |
--- a/runtime/vm/dart_api_impl.h |
+++ b/runtime/vm/dart_api_impl.h |
@@ -112,7 +112,7 @@ class Api : AllStatic { |
// Create on the stack to provide a new throw-safe api scope. |
class Scope : public StackResource { |
public: |
- explicit Scope(Isolate* isolate) : StackResource(isolate) { |
+ explicit Scope(Thread* thread) : StackResource(thread) { |
Dart_EnterScope(); |
} |
~Scope() { |