Commit 94337811 authored by sigbjornf@opera.com's avatar sigbjornf@opera.com

Oilpan: remove unused IfWeakMember<T>.

R=haraken
BUG=420515

Review URL: https://codereview.chromium.org/725293002

git-svn-id: svn://svn.chromium.org/blink/trunk@185409 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 0e0406d0
......@@ -2408,20 +2408,6 @@ struct GCInfoTrait<HeapDeque<T, inlineCapacity> > : public GCInfoTrait<Deque<T,
template<typename T, typename U, typename V>
struct GCInfoTrait<HeapHashCountedSet<T, U, V> > : public GCInfoTrait<HashCountedSet<T, U, V, HeapAllocator> > { };
template<typename T>
struct IfWeakMember;
template<typename T>
struct IfWeakMember {
template<typename U>
static bool isDead(Visitor*, const U&) { return false; }
};
template<typename T>
struct IfWeakMember<WeakMember<T> > {
static bool isDead(Visitor* visitor, const WeakMember<T>& t) { return !visitor->isAlive(t.get()); }
};
} // namespace blink
#endif // Heap_h
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment