Index: Source/core/dom/ElementData.h |
diff --git a/Source/core/dom/ElementData.h b/Source/core/dom/ElementData.h |
index 8efccea8ed2bd25e90d7f96d3be920808467877f..407d55edd6e9e9408785db61367bdf8d4444a652 100644 |
--- a/Source/core/dom/ElementData.h |
+++ b/Source/core/dom/ElementData.h |
@@ -124,7 +124,7 @@ private: |
// the parser during page load for elements that have identical attributes. This |
// is a memory optimization since it's very common for many elements to have |
// duplicate sets of attributes (ex. the same classes). |
-class ShareableElementData FINAL : public ElementData { |
+class ShareableElementData final : public ElementData { |
public: |
static PassRefPtrWillBeRawPtr<ShareableElementData> createWithAttributes(const Vector<Attribute>&); |
@@ -161,7 +161,7 @@ DEFINE_ELEMENT_DATA_TYPE_CASTS(ShareableElementData, !data->isUnique(), !data.is |
// attributes. For example populating the m_inlineStyle from the style attribute |
// doesn't require a UniqueElementData as all elements with the same style |
// attribute will have the same inline style. |
-class UniqueElementData FINAL : public ElementData { |
+class UniqueElementData final : public ElementData { |
public: |
static PassRefPtrWillBeRawPtr<UniqueElementData> create(); |
PassRefPtrWillBeRawPtr<ShareableElementData> makeShareableCopy() const; |