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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "member_in_offheap_class.h" 5 #include "member_in_offheap_class.h"
6 6
7 namespace blink { 7 namespace blink {
8 8
9 void OffHeapObject::Trace(Visitor* visitor) 9 void OffHeapObject::Trace(Visitor* visitor)
10 { 10 {
11 visitor->Trace(m_obj); 11 visitor->Trace(m_obj);
12 visitor->Trace(m_weak);
12 } 13 }
13 14
14 void PartObject::Trace(Visitor* visitor) 15 void PartObject::Trace(Visitor* visitor)
15 { 16 {
16 visitor->Trace(m_obj); 17 visitor->Trace(m_obj);
17 } 18 }
18 19
19 void InlineObject::Trace(Visitor* visitor) 20 void InlineObject::Trace(Visitor* visitor)
20 { 21 {
21 visitor->Trace(m_obj); 22 visitor->Trace(m_obj);
22 } 23 }
23 24
24 } 25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698