// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEAK_FIELDS_REQUIRE_TRACING_H_ #define WEAK_FIELDS_REQUIRE_TRACING_H_ #include "heap/stubs.h" namespace blink { class HeapObject : public GarbageCollected { public: void Trace(Visitor*); void clearWeakMembers(Visitor*); private: Member m_obj1; WeakMember m_obj2; WeakMember m_obj3; HeapHashSet > m_set1; HeapHashSet > m_set2; }; } #endif