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

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

Issue 2106863003: Handle cross-thread weak persistents during global weak processing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: only treat cross-thread weaks during global weak processing Created 4 years, 6 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/MarkingVisitor.h
diff --git a/third_party/WebKit/Source/platform/heap/MarkingVisitor.h b/third_party/WebKit/Source/platform/heap/MarkingVisitor.h
index 02c96e43c6d07f311fbab78889893614ec3a9cf9..14615fb230cad4cd3209753d4a13a47f985ded29 100644
--- a/third_party/WebKit/Source/platform/heap/MarkingVisitor.h
+++ b/third_party/WebKit/Source/platform/heap/MarkingVisitor.h
@@ -57,12 +57,12 @@ public:
return Impl::ensureMarked(objectPointer);
}
-protected:
void registerWeakCellWithCallback(void** cell, WeakCallback callback) override
{
Impl::registerWeakCellWithCallback(cell, callback);
}
+protected:
inline bool shouldMarkObject(const void* objectPointer) const
{
if (Mode != ThreadLocalMarking)

Powered by Google App Engine
This is Rietveld 408576698