| Index: include/v8-defaults.h
|
| diff --git a/include/v8-defaults.h b/include/v8-defaults.h
|
| index 381a48210d1b9895fbda4e4c89eb0e51fa61b6d0..b55c07fbad86efa439d77bfd05b344c1d6864d56 100644
|
| --- a/include/v8-defaults.h
|
| +++ b/include/v8-defaults.h
|
| @@ -35,19 +35,13 @@
|
| */
|
| namespace v8 {
|
|
|
| -/**
|
| - * Configures the constraints with reasonable default values based on the
|
| - * capabilities of the current device the VM is running on.
|
| - */
|
| -bool V8_EXPORT ConfigureResourceConstraintsForCurrentPlatform(
|
| - ResourceConstraints* constraints);
|
| +V8_DEPRECATED("Use ResourceConstraints::ConfigureDefaults instead",
|
| + bool V8_EXPORT ConfigureResourceConstraintsForCurrentPlatform(
|
| + ResourceConstraints* constraints));
|
|
|
|
|
| -/**
|
| - * Convience function which performs SetResourceConstraints with the settings
|
| - * returned by ConfigureResourceConstraintsForCurrentPlatform.
|
| - */
|
| -bool V8_EXPORT SetDefaultResourceConstraintsForCurrentPlatform();
|
| +V8_DEPRECATED("Use ResourceConstraints::ConfigureDefaults instead",
|
| + bool V8_EXPORT SetDefaultResourceConstraintsForCurrentPlatform());
|
|
|
| } // namespace v8
|
|
|
|
|