Index: Source/platform/heap/Handle.h |
diff --git a/Source/platform/heap/Handle.h b/Source/platform/heap/Handle.h |
index 83336739fbf64f33e6ab223e994454db16fd9bc4..af8842df8dea803143c2fb9add4ffb90ee8e6dcd 100644 |
--- a/Source/platform/heap/Handle.h |
+++ b/Source/platform/heap/Handle.h |
@@ -1152,6 +1152,9 @@ template<typename T> |
struct ParamStorageTraits<RawPtr<T> > : public PointerParamStorageTraits<T*, blink::IsGarbageCollectedType<T>::value> { |
}; |
+template<typename T> |
+PassRefPtr<T> adoptRef(blink::RefCountedGarbageCollected<T>*) = delete; |
+ |
} // namespace WTF |
#endif |