Chromium Code Reviews| Index: include/v8.h |
| diff --git a/include/v8.h b/include/v8.h |
| index 44a74ed5fea97282ce307cafd3d88df161da1adc..1d432b28704759e180bfbc7c4b8b3dbaac642da3 100644 |
| --- a/include/v8.h |
| +++ b/include/v8.h |
| @@ -3788,10 +3788,16 @@ class V8_EXPORT ResourceConstraints { |
| }; |
| +V8_DEPRECATED( |
| + "Use SetResourceConstraints(constraints, isolate) 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(ResourceConstraints* constraints, |
| + Isolate* isolate); |
|
Benedikt Meurer
2013/10/24 17:52:06
nit: Change order of parameters to be consistent w
rmcilroy
2013/10/29 12:42:18
Done.
|
| // --- Exceptions --- |