| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index 73b7fbe4c439f523f43621783767d380a3d1202c..2c3dbffb9a03f3d441e3f38e6bdc9df088366f27 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -3187,8 +3187,12 @@ class V8EXPORT V8 {
|
| * Returns true if the embedder should stop calling IdleNotification
|
| * until real work has been done. This indicates that V8 has done
|
| * as much cleanup as it will be able to do.
|
| + *
|
| + * The hint argument specifies the amount of work to be done in the function
|
| + * on scale from 1 to 1000. There is no guarantee that the actual work will
|
| + * match the hint.
|
| */
|
| - static bool IdleNotification();
|
| + static bool IdleNotification(int hint = 1000);
|
|
|
| /**
|
| * Optional notification that the system is running low on memory.
|
|
|