Index: Source/core/rendering/RenderProgress.cpp |
diff --git a/Source/core/rendering/RenderProgress.cpp b/Source/core/rendering/RenderProgress.cpp |
index 1a90942ec663857d7c7f170f73a4592b01a91107..00bcb33548c87423bf1aad3474f77c14c22d4009 100644 |
--- a/Source/core/rendering/RenderProgress.cpp |
+++ b/Source/core/rendering/RenderProgress.cpp |
@@ -98,7 +98,7 @@ HTMLProgressElement* RenderProgress::progressElement() const |
if (!node()) |
return 0; |
- if (node()->hasTagName(HTMLNames::progressTag)) |
+ if (isHTMLProgressElement(*node())) |
return toHTMLProgressElement(node()); |
ASSERT(node()->shadowHost()); |