| Index: Source/platform/RefCountedSupplement.h
|
| diff --git a/Source/platform/RefCountedSupplement.h b/Source/platform/RefCountedSupplement.h
|
| index 6de6a04aa9f74035ebb474cff106baf79f76fa2c..6613a3b8c9de86bf7eda5d2d7b167121aa9d4fb3 100644
|
| --- a/Source/platform/RefCountedSupplement.h
|
| +++ b/Source/platform/RefCountedSupplement.h
|
| @@ -53,14 +53,14 @@ public:
|
| RefPtr<ThisType> m_wrapped;
|
| };
|
|
|
| - static void provideTo(Supplementable<T>* host, const char* key, PassRefPtr<ThisType> supplement)
|
| + static void provideTo(Supplementable<T>& host, const char* key, PassRefPtr<ThisType> supplement)
|
| {
|
| - host->provideSupplement(key, adoptPtr(new Wrapper(supplement)));
|
| + host.provideSupplement(key, adoptPtr(new Wrapper(supplement)));
|
| }
|
|
|
| - static ThisType* from(Supplementable<T>* host, const char* key)
|
| + static ThisType* from(Supplementable<T>& host, const char* key)
|
| {
|
| - Supplement<T>* found = host->requireSupplement(key);
|
| + Supplement<T>* found = host.requireSupplement(key);
|
| if (!found)
|
| return 0;
|
| ASSERT_WITH_SECURITY_IMPLICATION(found->isRefCountedWrapper());
|
|
|