#include "core/rendering/style/StyleImage.h"
-namespace WebCore {
+namespace blink {
class CSSValue;
class CSSImageGeneratorValue;
virtual WrappedImagePtr data() const OVERRIDE { return m_imageGeneratorValue.get(); }
- virtual PassRefPtr<CSSValue> cssValue() const OVERRIDE;
+ virtual PassRefPtrWillBeRawPtr<CSSValue> cssValue() const OVERRIDE;
virtual LayoutSize imageSize(const RenderObject*, float multiplier) const OVERRIDE;
virtual bool imageHasRelativeWidth() const OVERRIDE { return !m_fixedSize; }
virtual bool knownToBeOpaque(const RenderObject*) const OVERRIDE;
private:
- StyleGeneratedImage(PassRefPtr<CSSImageGeneratorValue>);
+ StyleGeneratedImage(PassRefPtrWillBeRawPtr<CSSImageGeneratorValue>);
- RefPtr<CSSImageGeneratorValue> m_imageGeneratorValue;
+ // FIXME: oilpan: change to member once StyleImage is moved to the oilpan heap
+ RefPtrWillBePersistent<CSSImageGeneratorValue> m_imageGeneratorValue;
IntSize m_containerSize;
bool m_fixedSize;
};