Index: Source/core/html/shadow/ProgressShadowElement.cpp |
diff --git a/Source/core/html/shadow/ProgressShadowElement.cpp b/Source/core/html/shadow/ProgressShadowElement.cpp |
index 3f93ca2491a9f75ed0369e9f84fd6d5f1751d010..732b369eef4a40b02729e8b03b0444592795deec 100644 |
--- a/Source/core/html/shadow/ProgressShadowElement.cpp |
+++ b/Source/core/html/shadow/ProgressShadowElement.cpp |
@@ -50,7 +50,7 @@ HTMLProgressElement* ProgressShadowElement::progressElement() const |
return toHTMLProgressElement(shadowHost()); |
} |
-bool ProgressShadowElement::layoutObjectIsNeeded(const LayoutStyle& style) |
+bool ProgressShadowElement::layoutObjectIsNeeded(const ComputedStyle& style) |
{ |
LayoutObject* progressRenderer = progressElement()->layoutObject(); |
return progressRenderer && !progressRenderer->style()->hasAppearance() && HTMLDivElement::layoutObjectIsNeeded(style); |
@@ -63,12 +63,12 @@ inline ProgressInnerElement::ProgressInnerElement(Document& document) |
DEFINE_NODE_FACTORY(ProgressInnerElement) |
-LayoutObject* ProgressInnerElement::createLayoutObject(const LayoutStyle&) |
+LayoutObject* ProgressInnerElement::createLayoutObject(const ComputedStyle&) |
{ |
return new LayoutProgress(this); |
} |
-bool ProgressInnerElement::layoutObjectIsNeeded(const LayoutStyle& style) |
+bool ProgressInnerElement::layoutObjectIsNeeded(const ComputedStyle& style) |
{ |
if (progressElement()->hasOpenShadowRoot()) |
return HTMLDivElement::layoutObjectIsNeeded(style); |