Index: Source/core/html/HTMLProgressElement.cpp |
diff --git a/Source/core/html/HTMLProgressElement.cpp b/Source/core/html/HTMLProgressElement.cpp |
index 6333ef9fa9521fb6094bdde29d5920f36f03e2c4..cd361c29ad219e029f9349b8c6091204d6d3860e 100644 |
--- a/Source/core/html/HTMLProgressElement.cpp |
+++ b/Source/core/html/HTMLProgressElement.cpp |
@@ -67,10 +67,10 @@ LayoutObject* HTMLProgressElement::createRenderer(const LayoutStyle& style) |
LayoutProgress* HTMLProgressElement::layoutProgress() const |
{ |
- if (renderer() && renderer()->isProgress()) |
- return toLayoutProgress(renderer()); |
+ if (layoutObject() && layoutObject()->isProgress()) |
+ return toLayoutProgress(layoutObject()); |
- LayoutObject* layoutObject = closedShadowRoot()->firstChild()->renderer(); |
+ LayoutObject* layoutObject = closedShadowRoot()->firstChild()->layoutObject(); |
ASSERT_WITH_SECURITY_IMPLICATION(!layoutObject || layoutObject->isProgress()); |
return toLayoutProgress(layoutObject); |
} |