Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 44a74ed5fea97282ce307cafd3d88df161da1adc..5286baae9a9ff00e9636370f4e8c5eddaa2958ea 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -3788,10 +3788,16 @@ class V8_EXPORT ResourceConstraints { |
}; |
+V8_DEPRECATED( |
+ "Use SetResourceConstraints(isolate, constraints) instead", |
+ bool V8_EXPORT SetResourceConstraints(ResourceConstraints* constraints)); |
+ |
+ |
/** |
- * Sets the given ResourceConstraints on the current isolate. |
+ * Sets the given ResourceConstraints on the given Isolate. |
*/ |
-bool V8_EXPORT SetResourceConstraints(ResourceConstraints* constraints); |
+bool V8_EXPORT SetResourceConstraints(Isolate* isolate, |
+ ResourceConstraints* constraints); |
// --- Exceptions --- |