Index: Source/core/html/HTMLProgressElement.cpp |
diff --git a/Source/core/html/HTMLProgressElement.cpp b/Source/core/html/HTMLProgressElement.cpp |
index 74ab17c21e07ec6abdda977398d174fcd3a0d5b4..70c5f99207e7adaf1c9b10c73883f6511af10ecb 100644 |
--- a/Source/core/html/HTMLProgressElement.cpp |
+++ b/Source/core/html/HTMLProgressElement.cpp |
@@ -67,10 +67,10 @@ LayoutObject* HTMLProgressElement::createLayoutObject(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); |
} |