| Index: Source/core/css/resolver/StyleResolver.cpp
|
| diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp
|
| index 48285cfe5f3ed3e1b94445a53e7fbccbaa95a8f6..1a7b0fcfa3e6eef7a2eee93611040d4d363e0f89 100644
|
| --- a/Source/core/css/resolver/StyleResolver.cpp
|
| +++ b/Source/core/css/resolver/StyleResolver.cpp
|
| @@ -341,7 +341,7 @@ StyleSharingList& StyleResolver::styleSharingList()
|
| unsigned depth = std::max(std::min(m_styleSharingDepth, styleSharingMaxDepth), 1u) - 1u;
|
|
|
| if (!m_styleSharingLists[depth])
|
| - m_styleSharingLists[depth] = adoptPtr(new StyleSharingList);
|
| + m_styleSharingLists[depth] = adoptPtrWillBeNoop(new StyleSharingList);
|
| return *m_styleSharingLists[depth];
|
| }
|
|
|
| @@ -1562,6 +1562,7 @@ void StyleResolver::trace(Visitor* visitor)
|
| visitor->trace(m_uncommonAttributeRuleSet);
|
| visitor->trace(m_watchedSelectorsRules);
|
| visitor->trace(m_treeBoundaryCrossingRules);
|
| + visitor->trace(m_styleSharingLists);
|
| visitor->trace(m_pendingStyleSheets);
|
| visitor->trace(m_styleTree);
|
| visitor->trace(m_scopedStyleResolvers);
|
|
|