Index: Source/core/css/CSSComputedStyleDeclaration.cpp |
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp |
index 254add216b1a963abbe41403640f63217a3559ff..bf3dfdc9b6f5e272454bb452ff16f0363a2c0524 100644 |
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp |
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp |
@@ -539,7 +539,7 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValu |
Node* styledNode = this->styledNode(); |
if (!styledNode) |
return nullptr; |
- LayoutObject* renderer = styledNode->renderer(); |
+ LayoutObject* renderer = styledNode->layoutObject(); |
RefPtr<LayoutStyle> style; |
Document& document = styledNode->document(); |
@@ -552,7 +552,7 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValu |
// The style recalc could have caused the styled node to be discarded or replaced |
// if it was a PseudoElement so we need to update it. |
styledNode = this->styledNode(); |
- renderer = styledNode->renderer(); |
+ renderer = styledNode->layoutObject(); |
style = computeLayoutStyle(); |
@@ -564,7 +564,7 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValu |
document.updateLayoutIgnorePendingStylesheets(); |
styledNode = this->styledNode(); |
style = computeLayoutStyle(); |
- renderer = styledNode->renderer(); |
+ renderer = styledNode->layoutObject(); |
} |
if (!style) |