| Index: Source/core/css/CSSComputedStyleDeclaration.h
|
| diff --git a/Source/core/css/CSSComputedStyleDeclaration.h b/Source/core/css/CSSComputedStyleDeclaration.h
|
| index 5c9dc095bee70f98966405e9106c2c856ecb1c38..0bcb13283beb79b19a9c6e3e35d5f527b753f5da 100644
|
| --- a/Source/core/css/CSSComputedStyleDeclaration.h
|
| +++ b/Source/core/css/CSSComputedStyleDeclaration.h
|
| @@ -49,14 +49,16 @@ enum EUpdateLayout { DoNotUpdateLayout = false, UpdateLayout = true };
|
|
|
| class CSSComputedStyleDeclaration FINAL : public CSSStyleDeclaration {
|
| public:
|
| - static PassRefPtr<CSSComputedStyleDeclaration> create(PassRefPtr<Node> node, bool allowVisitedStyle = false, const String& pseudoElementName = String())
|
| + static PassRefPtrWillBeRawPtr<CSSComputedStyleDeclaration> create(PassRefPtr<Node> node, bool allowVisitedStyle = false, const String& pseudoElementName = String())
|
| {
|
| - return adoptRef(new CSSComputedStyleDeclaration(node, allowVisitedStyle, pseudoElementName));
|
| + return adoptRefWillBeNoop(new CSSComputedStyleDeclaration(node, allowVisitedStyle, pseudoElementName));
|
| }
|
| virtual ~CSSComputedStyleDeclaration();
|
|
|
| +#if !ENABLE(OILPAN)
|
| virtual void ref() OVERRIDE;
|
| virtual void deref() OVERRIDE;
|
| +#endif
|
|
|
| PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValue(CSSPropertyID) const;
|
| String getPropertyValue(CSSPropertyID) const;
|
| @@ -71,6 +73,8 @@ public:
|
|
|
| PassRefPtrWillBeRawPtr<MutableStylePropertySet> copyPropertiesInSet(const Vector<CSSPropertyID>&) const;
|
|
|
| + virtual void trace(Visitor* visitor) { CSSStyleDeclaration::trace(visitor); }
|
| +
|
| private:
|
| CSSComputedStyleDeclaration(PassRefPtr<Node>, bool allowVisitedStyle, const String&);
|
|
|
|
|