Index: runtime/bin/dartutils.h |
diff --git a/runtime/bin/dartutils.h b/runtime/bin/dartutils.h |
index cd3ce0eef826d200467ddf88f7516bd879cb00f6..6626a3f5b91318ed69d51342b78cc7161ff47235 100644 |
--- a/runtime/bin/dartutils.h |
+++ b/runtime/bin/dartutils.h |
@@ -581,11 +581,11 @@ class CObjectExternalUint8Array : public CObject { |
class ScopedBlockingCall { |
public: |
ScopedBlockingCall() { |
- Dart_ThreadDisableProfiling(); |
+ Dart_IsolateBlocked(); |
} |
~ScopedBlockingCall() { |
- Dart_ThreadEnableProfiling(); |
+ Dart_IsolateUnblocked(); |
} |
}; |