Index: Source/core/rendering/RenderMeter.cpp |
diff --git a/Source/core/rendering/RenderMeter.cpp b/Source/core/rendering/RenderMeter.cpp |
index d4765abcf0a04d7298d80c245ea0463b4f271dd2..fe9507657f68172199e90fb4f8b8ed22067012a4 100644 |
--- a/Source/core/rendering/RenderMeter.cpp |
+++ b/Source/core/rendering/RenderMeter.cpp |
@@ -44,7 +44,7 @@ HTMLMeterElement* RenderMeter::meterElement() const |
{ |
ASSERT(node()); |
- if (node()->hasTagName(meterTag)) |
+ if (isHTMLMeterElement(*node())) |
return toHTMLMeterElement(node()); |
ASSERT(node()->shadowHost()); |