Index: Source/platform/RefCountedSupplement.h |
diff --git a/Source/platform/RefCountedSupplement.h b/Source/platform/RefCountedSupplement.h |
index 6613a3b8c9de86bf7eda5d2d7b167121aa9d4fb3..f94dfd6c50e1bacf10c9cbe8676c4b1a3a20608e 100644 |
--- a/Source/platform/RefCountedSupplement.h |
+++ b/Source/platform/RefCountedSupplement.h |
@@ -60,7 +60,7 @@ public: |
static ThisType* from(Supplementable<T>& host, const char* key) |
{ |
- Supplement<T>* found = host.requireSupplement(key); |
+ Supplement<T>* found = static_cast<Supplement<T>*>(host.requireSupplement(key)); |
if (!found) |
return 0; |
ASSERT_WITH_SECURITY_IMPLICATION(found->isRefCountedWrapper()); |