Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(509)

Unified Diff: Source/core/css/resolver/StyleResolver.cpp

Issue 423013002: Oilpan: Remove Element* raw pointers in objects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/resolver/StyleResolver.h ('k') | Source/core/dom/ScriptLoader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Source/core/css/resolver/StyleResolver.h ('k') | Source/core/dom/ScriptLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698