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

Unified Diff: Source/core/css/StyleSheetList.h

Issue 192473003: Move CSSRuleList to the garbage collected heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix teardown of StyleEngine Created 6 years, 9 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/StyleSheetList.h
diff --git a/Source/core/css/StyleSheetList.h b/Source/core/css/StyleSheetList.h
index c9802b039b16d7e3e4c19f81168fa2a67b7f41db..5786cfa0d1143d7b16cb685e380bf44793c2a525 100644
--- a/Source/core/css/StyleSheetList.h
+++ b/Source/core/css/StyleSheetList.h
@@ -52,10 +52,10 @@ public:
private:
StyleSheetList(TreeScope*);
- const Vector<RefPtr<StyleSheet> >& styleSheets();
+ const WillBeHeapVector<RefPtrWillBeMember<StyleSheet> >& styleSheets();
TreeScope* m_treeScope;
haraken 2014/03/12 11:08:21 This raw pointer looks safe since it's cleared in
Erik Corry 2014/03/12 11:48:57 Done.
- Vector<RefPtr<StyleSheet> > m_detachedStyleSheets;
+ WillBeHeapVector<RefPtrWillBeMember<StyleSheet> > m_detachedStyleSheets;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698