Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(581)

Unified Diff: Source/core/html/shadow/ProgressShadowElement.cpp

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/shadow/ProgressShadowElement.h ('k') | Source/core/html/shadow/SliderThumbElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Source/core/html/shadow/ProgressShadowElement.h ('k') | Source/core/html/shadow/SliderThumbElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698