Commit 516b85b3 authored by rune@opera.com's avatar rune@opera.com

Remove unused argument in computeRenderStyle.

Review URL: https://codereview.chromium.org/572623002

git-svn-id: svn://svn.chromium.org/blink/trunk@181969 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 13156e84
...@@ -1527,7 +1527,7 @@ static bool isLayoutDependent(CSSPropertyID propertyID, PassRefPtr<RenderStyle> ...@@ -1527,7 +1527,7 @@ static bool isLayoutDependent(CSSPropertyID propertyID, PassRefPtr<RenderStyle>
} }
} }
PassRefPtr<RenderStyle> CSSComputedStyleDeclaration::computeRenderStyle(CSSPropertyID propertyID) const PassRefPtr<RenderStyle> CSSComputedStyleDeclaration::computeRenderStyle() const
{ {
Node* styledNode = this->styledNode(); Node* styledNode = this->styledNode();
ASSERT(styledNode); ASSERT(styledNode);
...@@ -1589,7 +1589,7 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValu ...@@ -1589,7 +1589,7 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValu
styledNode = this->styledNode(); styledNode = this->styledNode();
renderer = styledNode->renderer(); renderer = styledNode->renderer();
style = computeRenderStyle(propertyID); style = computeRenderStyle();
bool forceFullLayout = isLayoutDependent(propertyID, style, renderer) bool forceFullLayout = isLayoutDependent(propertyID, style, renderer)
|| styledNode->isInShadowTree() || styledNode->isInShadowTree()
...@@ -1598,11 +1598,11 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValu ...@@ -1598,11 +1598,11 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValu
if (forceFullLayout) { if (forceFullLayout) {
document.updateLayoutIgnorePendingStylesheets(); document.updateLayoutIgnorePendingStylesheets();
styledNode = this->styledNode(); styledNode = this->styledNode();
style = computeRenderStyle(propertyID); style = computeRenderStyle();
renderer = styledNode->renderer(); renderer = styledNode->renderer();
} }
} else { } else {
style = computeRenderStyle(propertyID); style = computeRenderStyle();
} }
if (!style) if (!style)
......
...@@ -87,7 +87,7 @@ private: ...@@ -87,7 +87,7 @@ private:
virtual CSSRule* parentRule() const OVERRIDE; virtual CSSRule* parentRule() const OVERRIDE;
virtual unsigned length() const OVERRIDE; virtual unsigned length() const OVERRIDE;
virtual String item(unsigned index) const OVERRIDE; virtual String item(unsigned index) const OVERRIDE;
PassRefPtr<RenderStyle> computeRenderStyle(CSSPropertyID) const; PassRefPtr<RenderStyle> computeRenderStyle() const;
virtual PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValue(const String& propertyName) OVERRIDE; virtual PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValue(const String& propertyName) OVERRIDE;
virtual String getPropertyValue(const String& propertyName) OVERRIDE; virtual String getPropertyValue(const String& propertyName) OVERRIDE;
virtual String getPropertyPriority(const String& propertyName) OVERRIDE; virtual String getPropertyPriority(const String& propertyName) OVERRIDE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment