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

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

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
Index: Source/core/css/resolver/StyleResolver.h
diff --git a/Source/core/css/resolver/StyleResolver.h b/Source/core/css/resolver/StyleResolver.h
index 480a0ce32320c2fe142bd06c7a258ca35b77d9f1..896e812012eae8e0221dd85a76540d85ed205103 100644
--- a/Source/core/css/resolver/StyleResolver.h
+++ b/Source/core/css/resolver/StyleResolver.h
@@ -85,7 +85,7 @@ enum RuleMatchingBehavior {
const unsigned styleSharingListSize = 15;
const unsigned styleSharingMaxDepth = 32;
-typedef WTF::Deque<Element*, styleSharingListSize> StyleSharingList;
+typedef WillBeHeapDeque<RawPtrWillBeMember<Element>, styleSharingListSize> StyleSharingList;
struct CSSPropertyValue {
STACK_ALLOCATED();
@@ -316,7 +316,7 @@ private:
StyleResourceLoader m_styleResourceLoader;
unsigned m_styleSharingDepth;
- Vector<OwnPtr<StyleSharingList>, styleSharingMaxDepth> m_styleSharingLists;
+ WillBeHeapVector<OwnPtrWillBeMember<StyleSharingList>, styleSharingMaxDepth> m_styleSharingLists;
OwnPtr<StyleResolverStats> m_styleResolverStats;
OwnPtr<StyleResolverStats> m_styleResolverStatsTotals;

Powered by Google App Engine
This is Rietveld 408576698