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

Unified Diff: third_party/WebKit/Source/platform/heap/HeapAllocator.h

Issue 2694173002: Remove thread-local weak processing (Closed)
Patch Set: temp Created 3 years, 10 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: third_party/WebKit/Source/platform/heap/HeapAllocator.h
diff --git a/third_party/WebKit/Source/platform/heap/HeapAllocator.h b/third_party/WebKit/Source/platform/heap/HeapAllocator.h
index 645e7761f7a0e7d14d532bf07ed497eb07884d6f..e05ebb391c9ab62d477a651d606d2f96b7cc27b6 100644
--- a/third_party/WebKit/Source/platform/heap/HeapAllocator.h
+++ b/third_party/WebKit/Source/platform/heap/HeapAllocator.h
@@ -171,9 +171,8 @@ class PLATFORM_EXPORT HeapAllocator {
template <typename VisitorDispatcher>
static void registerWeakMembers(VisitorDispatcher visitor,
const void* closure,
- const void* object,
WeakCallback callback) {
- visitor->registerWeakMembers(closure, object, callback);
+ visitor->registerWeakCallback(const_cast<void*>(closure), callback);
}
template <typename VisitorDispatcher>
« no previous file with comments | « third_party/WebKit/Source/platform/heap/Heap.cpp ('k') | third_party/WebKit/Source/platform/heap/Persistent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698