Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 70e64a2285f474573009210382dc80eb51402391..864f5d26a01d45a1f470caa5fabf1b34c1057026 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -5203,9 +5203,6 @@ class V8_EXPORT Unlocker { |
*/ |
V8_INLINE explicit Unlocker(Isolate* isolate) { Initialize(isolate); } |
- /** Deprecated. Use Isolate version instead. */ |
- V8_DEPRECATED(Unlocker()); |
- |
~Unlocker(); |
private: |
void Initialize(Isolate* isolate); |
@@ -5221,9 +5218,6 @@ class V8_EXPORT Locker { |
*/ |
V8_INLINE explicit Locker(Isolate* isolate) { Initialize(isolate); } |
- /** Deprecated. Use Isolate version instead. */ |
- V8_DEPRECATED(Locker()); |
- |
~Locker(); |
/** |
@@ -5233,12 +5227,12 @@ class V8_EXPORT Locker { |
* that will switch between multiple threads that are in contention |
* for the V8 lock. |
*/ |
- static void StartPreemption(int every_n_ms); |
+ static void StartPreemption(Isolate* isolate, int every_n_ms); |
/** |
* Stop preemption. |
*/ |
- static void StopPreemption(); |
+ static void StopPreemption(Isolate* isolate); |
/** |
* Returns whether or not the locker for a given isolate, is locked by the |