Index: third_party/WebKit/Source/core/dom/ElementRareData.h |
diff --git a/third_party/WebKit/Source/core/dom/ElementRareData.h b/third_party/WebKit/Source/core/dom/ElementRareData.h |
index 050f4c63072199b6c2968ff701412a0ba0a66ef7..d09bff66af84005a95faa308b3e7c94292e0ac52 100644 |
--- a/third_party/WebKit/Source/core/dom/ElementRareData.h |
+++ b/third_party/WebKit/Source/core/dom/ElementRareData.h |
@@ -88,7 +88,7 @@ public: |
void clearComputedStyle() { m_computedStyle = nullptr; } |
ClassList* classList() const { return m_classList.get(); } |
- void setClassList(PassOwnPtrWillBeRawPtr<ClassList> classList) { m_classList = classList; } |
+ void setClassList(PassRefPtrWillBeRawPtr<ClassList> classList) { m_classList = classList; } |
void clearClassListValueForQuirksMode() |
{ |
if (!m_classList) |
@@ -145,8 +145,8 @@ private: |
IntSize m_savedLayerScrollOffset; |
OwnPtrWillBeMember<DatasetDOMStringMap> m_dataset; |
- OwnPtrWillBeMember<ClassList> m_classList; |
OwnPtrWillBeMember<ElementShadow> m_shadow; |
+ RefPtrWillBeMember<ClassList> m_classList; |
OwnPtrWillBeMember<NamedNodeMap> m_attributeMap; |
OwnPtrWillBeMember<AttrNodeList> m_attrNodeList; |
OwnPtrWillBeMember<InlineCSSStyleDeclaration> m_cssomWrapper; |