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

Unified Diff: Source/core/html/shadow/MeterShadowElement.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/MeterShadowElement.h ('k') | Source/core/html/shadow/PickerIndicatorElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/MeterShadowElement.cpp
diff --git a/Source/core/html/shadow/MeterShadowElement.cpp b/Source/core/html/shadow/MeterShadowElement.cpp
index 4b6096682f7f313532a23982fbf539a6b2262984..32ec96cb68c36b5906ebd978fe756f96658f2c42 100644
--- a/Source/core/html/shadow/MeterShadowElement.cpp
+++ b/Source/core/html/shadow/MeterShadowElement.cpp
@@ -52,7 +52,7 @@ HTMLMeterElement* MeterShadowElement::meterElement() const
return toHTMLMeterElement(shadowHost());
}
-bool MeterShadowElement::layoutObjectIsNeeded(const LayoutStyle& style)
+bool MeterShadowElement::layoutObjectIsNeeded(const ComputedStyle& style)
{
LayoutObject* renderer = meterElement()->layoutObject();
return renderer && !LayoutTheme::theme().supportsMeter(renderer->style()->appearance()) && HTMLDivElement::layoutObjectIsNeeded(style);
@@ -70,7 +70,7 @@ PassRefPtrWillBeRawPtr<MeterInnerElement> MeterInnerElement::create(Document& do
return element.release();
}
-bool MeterInnerElement::layoutObjectIsNeeded(const LayoutStyle& style)
+bool MeterInnerElement::layoutObjectIsNeeded(const ComputedStyle& style)
{
if (meterElement()->hasOpenShadowRoot())
return HTMLDivElement::layoutObjectIsNeeded(style);
@@ -79,7 +79,7 @@ bool MeterInnerElement::layoutObjectIsNeeded(const LayoutStyle& style)
return renderer && !LayoutTheme::theme().supportsMeter(renderer->style()->appearance()) && HTMLDivElement::layoutObjectIsNeeded(style);
}
-LayoutObject* MeterInnerElement::createLayoutObject(const LayoutStyle&)
+LayoutObject* MeterInnerElement::createLayoutObject(const ComputedStyle&)
{
return new LayoutMeter(this);
}
« no previous file with comments | « Source/core/html/shadow/MeterShadowElement.h ('k') | Source/core/html/shadow/PickerIndicatorElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698