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