Index: Source/core/html/shadow/ProgressShadowElement.cpp |
diff --git a/Source/core/html/shadow/ProgressShadowElement.cpp b/Source/core/html/shadow/ProgressShadowElement.cpp |
index e9d104e81fa098ac3ee0b5ecafb0005adb84eff7..4229177020fe8aa1f40cd9f6900415a9a1d75734 100644 |
--- a/Source/core/html/shadow/ProgressShadowElement.cpp |
+++ b/Source/core/html/shadow/ProgressShadowElement.cpp |
@@ -52,7 +52,7 @@ HTMLProgressElement* ProgressShadowElement::progressElement() const |
bool ProgressShadowElement::rendererIsNeeded(const LayoutStyle& style) |
{ |
- LayoutObject* progressRenderer = progressElement()->renderer(); |
+ LayoutObject* progressRenderer = progressElement()->layoutObject(); |
return progressRenderer && !progressRenderer->style()->hasAppearance() && HTMLDivElement::rendererIsNeeded(style); |
} |
@@ -73,7 +73,7 @@ bool ProgressInnerElement::rendererIsNeeded(const LayoutStyle& style) |
if (progressElement()->hasOpenShadowRoot()) |
return HTMLDivElement::rendererIsNeeded(style); |
- LayoutObject* progressRenderer = progressElement()->renderer(); |
+ LayoutObject* progressRenderer = progressElement()->layoutObject(); |
return progressRenderer && !progressRenderer->style()->hasAppearance() && HTMLDivElement::rendererIsNeeded(style); |
} |