Index: third_party/WebKit/Source/platform/heap/GarbageCollected.h |
diff --git a/third_party/WebKit/Source/platform/heap/GarbageCollected.h b/third_party/WebKit/Source/platform/heap/GarbageCollected.h |
index 182a0443113b0a28832f64e76969e86ba1426dfe..c41b329edd9b3f66f63d972bc780ff3bb0089ab3 100644 |
--- a/third_party/WebKit/Source/platform/heap/GarbageCollected.h |
+++ b/third_party/WebKit/Source/platform/heap/GarbageCollected.h |
@@ -99,6 +99,11 @@ struct IsGarbageCollectedType { |
|| isHeapAllocatedListHashSetNode; |
}; |
+template <> |
+struct IsGarbageCollectedType<void> { |
+ static const bool value = false; |
+}; |
+ |
// The GarbageCollectedMixin interface and helper macro |
// USING_GARBAGE_COLLECTED_MIXIN can be used to automatically define |
// TraceTrait/ObjectAliveTrait on non-leftmost deriving classes |