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

Unified Diff: Source/web/WebKit.cpp

Issue 651713002: Oilpan: DOM wrappers don't need to keep persistent handles (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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
Index: Source/web/WebKit.cpp
diff --git a/Source/web/WebKit.cpp b/Source/web/WebKit.cpp
index f410925653d9dc78149ab5f8366268390820136d..fb9cf7a5ba482c07b8acf18bda0ee7638f0eb355 100644
--- a/Source/web/WebKit.cpp
+++ b/Source/web/WebKit.cpp
@@ -100,6 +100,7 @@ void initialize(Platform* platform)
s_isolateInterruptor = new V8IsolateInterruptor(V8PerIsolateData::mainThreadIsolate());
ThreadState::current()->addInterruptor(s_isolateInterruptor);
+ ThreadState::current()->registerTraceDOMWrappers(V8GCController::traceDOMWrappers);
// currentThread will always be non-null in production, but can be null in Chromium unit tests.
if (WebThread* currentThread = platform->currentThread()) {
« Source/platform/heap/ThreadState.cpp ('K') | « Source/platform/heap/blink_heap.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698