Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Unified Diff: Source/bindings/core/v8/WorkerScriptController.h

Issue 422293004: Update memory related v8 notifications API calls (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/core/v8/V8GCForContextDispose.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/bindings/core/v8/V8GCForContextDispose.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698