Index: Source/core/css/MediaValues.h |
diff --git a/Source/core/css/MediaValues.h b/Source/core/css/MediaValues.h |
index a660b4cabb6aafa2da61bac534888715e5820bf0..8c362d97bb62db7cdc7938fb4bf29039af98df5c 100644 |
--- a/Source/core/css/MediaValues.h |
+++ b/Source/core/css/MediaValues.h |
@@ -18,13 +18,14 @@ class Document; |
class CSSPrimitiveValue; |
class LocalFrame; |
-class CORE_EXPORT MediaValues : public RefCounted<MediaValues> { |
+class CORE_EXPORT MediaValues : public RefCountedWillBeGarbageCollectedFinalized<MediaValues> { |
public: |
virtual ~MediaValues() { } |
+ DEFINE_INLINE_VIRTUAL_TRACE() { } |
- static PassRefPtr<MediaValues> createDynamicIfFrameExists(LocalFrame*); |
- virtual PassRefPtr<MediaValues> copy() const = 0; |
+ static PassRefPtrWillBeRawPtr<MediaValues> createDynamicIfFrameExists(LocalFrame*); |
+ virtual PassRefPtrWillBeRawPtr<MediaValues> copy() const = 0; |
virtual bool isSafeToSendToAnotherThread() const = 0; |
static bool computeLengthImpl(double value, CSSPrimitiveValue::UnitType, unsigned defaultFontSize, unsigned viewportWidth, unsigned viewportHeight, double& result); |