Index: Source/core/dom/Element.h |
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h |
index b14bf198f1c767f57658c7557a3d40a8815dd04b..f29927235afbace811da0a3d2275bed6077043d7 100644 |
--- a/Source/core/dom/Element.h |
+++ b/Source/core/dom/Element.h |
@@ -786,7 +786,7 @@ inline UniqueElementData& Element::ensureUniqueElementData() |
{ |
if (!elementData() || !elementData()->isUnique()) |
createUniqueElementData(); |
- return static_cast<UniqueElementData&>(*m_elementData); |
+ return toUniqueElementData(*m_elementData); |
} |
// Put here to make them inline. |