Index: Source/core/css/CSSComputedStyleDeclaration.cpp |
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp |
index 139716740e2c113179e0c9ce44733df8692ae299..db2bdd3e3be47467a12aef379039dd771b4bdc67 100644 |
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp |
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp |
@@ -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(); |
ASSERT(styledNode); |
@@ -1589,7 +1589,7 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValu |
styledNode = this->styledNode(); |
renderer = styledNode->renderer(); |
- style = computeRenderStyle(propertyID); |
+ style = computeRenderStyle(); |
bool forceFullLayout = isLayoutDependent(propertyID, style, renderer) |
|| styledNode->isInShadowTree() |
@@ -1598,11 +1598,11 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValu |
if (forceFullLayout) { |
document.updateLayoutIgnorePendingStylesheets(); |
styledNode = this->styledNode(); |
- style = computeRenderStyle(propertyID); |
+ style = computeRenderStyle(); |
renderer = styledNode->renderer(); |
} |
} else { |
- style = computeRenderStyle(propertyID); |
+ style = computeRenderStyle(); |
} |
if (!style) |