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

Unified Diff: Source/platform/heap/Handle.h

Issue 799453003: Oilpan: fix Windows build after r187674. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add needsTracing argument to TraceCompatibilityAdaptor<> Created 6 years 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
« no previous file with comments | « no previous file | Source/platform/heap/InlinedGlobalMarkingVisitor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Handle.h
diff --git a/Source/platform/heap/Handle.h b/Source/platform/heap/Handle.h
index d1caccc48f349bec642a959863dbe8ee1ef4e86f..e2f2210164084f4416b563111b21893154528faf 100644
--- a/Source/platform/heap/Handle.h
+++ b/Source/platform/heap/Handle.h
@@ -1139,16 +1139,6 @@ template<typename T> struct DefaultHash<blink::Persistent<T>> {
using Hash = PtrHash<blink::Persistent<T>>;
};
-template<typename T>
-struct NeedsTracing<blink::Member<T>> {
- static const bool value = true;
-};
-
-template<typename T>
-struct IsWeak<blink::WeakMember<T>> {
- static const bool value = true;
-};
-
template<typename T> inline T* getPtr(const blink::Member<T>& p)
{
return p.get();
@@ -1159,14 +1149,6 @@ template<typename T> inline T* getPtr(const blink::Persistent<T>& p)
return p.get();
}
-template<typename T, size_t inlineCapacity>
-struct NeedsTracing<ListHashSetNode<T, blink::HeapListHashSetAllocator<T, inlineCapacity>> *> {
- // All heap allocated node pointers need visiting to keep the nodes alive,
- // regardless of whether they contain pointers to other heap allocated
- // objects.
- static const bool value = true;
-};
-
// For wtf/Functional.h
template<typename T, bool isGarbageCollected> struct PointerParamStorageTraits;
« no previous file with comments | « no previous file | Source/platform/heap/InlinedGlobalMarkingVisitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698