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

Unified Diff: tools/clang/blink_gc_plugin/tests/member_in_offheap_class.cpp

Issue 2902563002: blink_gc_plugin: disallow WeakMember<> fields in off-heap objects. (Closed)
Patch Set: add missing file from ps#3 Created 3 years, 7 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: tools/clang/blink_gc_plugin/tests/member_in_offheap_class.cpp
diff --git a/tools/clang/blink_gc_plugin/tests/member_in_offheap_class.cpp b/tools/clang/blink_gc_plugin/tests/member_in_offheap_class.cpp
index f182eb11a33e360335d2864e63cca9213bf6389c..ed5aa14eaab8d8082bb91934d635533adf31d46c 100644
--- a/tools/clang/blink_gc_plugin/tests/member_in_offheap_class.cpp
+++ b/tools/clang/blink_gc_plugin/tests/member_in_offheap_class.cpp
@@ -9,6 +9,7 @@ namespace blink {
void OffHeapObject::Trace(Visitor* visitor)
{
visitor->Trace(m_obj);
+ visitor->Trace(m_weak);
}
void PartObject::Trace(Visitor* visitor)

Powered by Google App Engine
This is Rietveld 408576698