Index: Source/core/css/MediaQueryList.h |
diff --git a/Source/core/css/MediaQueryList.h b/Source/core/css/MediaQueryList.h |
index 6dacdfdc602169152cac2d60f149ef0de6b66311..f1a75ee5872f5458293ba977e306f65a539034d2 100644 |
--- a/Source/core/css/MediaQueryList.h |
+++ b/Source/core/css/MediaQueryList.h |
@@ -56,8 +56,8 @@ public: |
// These two functions are provided for compatibility with JS code |
// written before the change listener became a DOM event. |
- void addDeprecatedListener(PassRefPtr<EventListener>); |
- void removeDeprecatedListener(PassRefPtr<EventListener>); |
+ void addDeprecatedListener(PassRefPtrWillBeRawPtr<EventListener>); |
+ void removeDeprecatedListener(PassRefPtrWillBeRawPtr<EventListener>); |
// C++ code can use these functions to listen to changes instead of having to use DOM event listeners. |
void addListener(PassRefPtrWillBeRawPtr<MediaQueryListListener>); |