Index: Source/core/css/CSSComputedStyleDeclaration.cpp |
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp |
index db28989cd8ab7247f0e8d70c04989328bb2e8fb5..ef484602a66cdd261d7f1c59e990acf4c8a5a5f0 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) |