Index: Source/core/html/HTMLMeterElement.cpp |
diff --git a/Source/core/html/HTMLMeterElement.cpp b/Source/core/html/HTMLMeterElement.cpp |
index 0944dcfca99ade4ad5465599fef232d71b9c867a..738aea3ee638926d583d28540e2532514514fa3f 100644 |
--- a/Source/core/html/HTMLMeterElement.cpp |
+++ b/Source/core/html/HTMLMeterElement.cpp |
@@ -214,11 +214,11 @@ void HTMLMeterElement::didElementStateChange() |
RenderMeter* HTMLMeterElement::renderMeter() const |
{ |
if (renderer() && renderer()->isMeter()) |
- return static_cast<RenderMeter*>(renderer()); |
+ return toRenderMeter(renderer()); |
RenderObject* renderObject = userAgentShadowRoot()->firstChild()->renderer(); |
ASSERT(!renderObject || renderObject->isMeter()); |
- return static_cast<RenderMeter*>(renderObject); |
+ return toRenderMeter(renderObject); |
} |
void HTMLMeterElement::didAddUserAgentShadowRoot(ShadowRoot* root) |