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

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

Issue 235113002: Oilpan: Remove guardRef and guardDeref from TreeScope. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments. Created 6 years, 8 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/accessibility/AXObjectCache.cpp ('k') | Source/core/css/StyleSheetList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/StyleSheetList.h
diff --git a/Source/core/css/StyleSheetList.h b/Source/core/css/StyleSheetList.h
index 5786cfa0d1143d7b16cb685e380bf44793c2a525..f842183b75db671fd97cd91cc162f276bf5abc9d 100644
--- a/Source/core/css/StyleSheetList.h
+++ b/Source/core/css/StyleSheetList.h
@@ -45,7 +45,10 @@ public:
Document* document() { return m_treeScope ? &m_treeScope->document() : 0; }
+#if !ENABLE(OILPAN)
void detachFromDocument();
+#endif
+
CSSStyleSheet* anonymousNamedGetter(const AtomicString&);
void trace(Visitor*);
@@ -54,8 +57,10 @@ private:
StyleSheetList(TreeScope*);
const WillBeHeapVector<RefPtrWillBeMember<StyleSheet> >& styleSheets();
- TreeScope* m_treeScope;
- WillBeHeapVector<RefPtrWillBeMember<StyleSheet> > m_detachedStyleSheets;
+ RawPtrWillBeMember<TreeScope> m_treeScope;
+#if !ENABLE(OILPAN)
+ Vector<RefPtr<StyleSheet> > m_detachedStyleSheets;
+#endif
};
} // namespace WebCore
« no previous file with comments | « Source/core/accessibility/AXObjectCache.cpp ('k') | Source/core/css/StyleSheetList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698