Index: Source/core/css/CSSComputedStyleDeclaration.h |
diff --git a/Source/core/css/CSSComputedStyleDeclaration.h b/Source/core/css/CSSComputedStyleDeclaration.h |
index 780e89abc76ec792a5d714bf0eb921044b7bc444..5c9dc095bee70f98966405e9106c2c856ecb1c38 100644 |
--- a/Source/core/css/CSSComputedStyleDeclaration.h |
+++ b/Source/core/css/CSSComputedStyleDeclaration.h |
@@ -49,16 +49,14 @@ |
class CSSComputedStyleDeclaration FINAL : public CSSStyleDeclaration { |
public: |
- static PassRefPtrWillBeRawPtr<CSSComputedStyleDeclaration> create(PassRefPtr<Node> node, bool allowVisitedStyle = false, const String& pseudoElementName = String()) |
+ static PassRefPtr<CSSComputedStyleDeclaration> create(PassRefPtr<Node> node, bool allowVisitedStyle = false, const String& pseudoElementName = String()) |
{ |
- return adoptRefWillBeNoop(new CSSComputedStyleDeclaration(node, allowVisitedStyle, pseudoElementName)); |
+ return adoptRef(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; |
@@ -72,8 +70,6 @@ |
PassRefPtrWillBeRawPtr<CSSValue> getSVGPropertyCSSValue(CSSPropertyID, EUpdateLayout) const; |
PassRefPtrWillBeRawPtr<MutableStylePropertySet> copyPropertiesInSet(const Vector<CSSPropertyID>&) const; |
- |
- virtual void trace(Visitor* visitor) { } |
private: |
CSSComputedStyleDeclaration(PassRefPtr<Node>, bool allowVisitedStyle, const String&); |