Index: Source/bindings/core/v8/WorkerScriptController.h |
diff --git a/Source/bindings/core/v8/WorkerScriptController.h b/Source/bindings/core/v8/WorkerScriptController.h |
index dbf682136454dbbf33a92d199a4b5adf3ba1947b..6ae5d2846edfa200e5e0db6eae25bc28620ab372 100644 |
--- a/Source/bindings/core/v8/WorkerScriptController.h |
+++ b/Source/bindings/core/v8/WorkerScriptController.h |
@@ -84,7 +84,7 @@ public: |
// Send a notification about current thread is going to be idle. |
// Returns true if the embedder should stop calling idleNotification |
// until real work has been done. |
- bool idleNotification() { return v8::V8::IdleNotification(); } |
+ bool idleNotification() { return m_isolate->IdleNotification(1000); } |
private: |
class WorkerGlobalScopeExecutionState; |