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

Side by Side Diff: Source/core/css/resolver/StyleResolver.h

Issue 196513007: Oilpan: Reapply: Remove all the RefPtrs and most of the raw pointers to style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 OwnPtr<MediaQueryEvaluator> m_medium; 299 OwnPtr<MediaQueryEvaluator> m_medium;
300 WillBePersistentMediaQueryResultList m_viewportDependentMediaQueryResults; 300 WillBePersistentMediaQueryResultList m_viewportDependentMediaQueryResults;
301 301
302 RefPtr<RenderStyle> m_rootDefaultStyle; 302 RefPtr<RenderStyle> m_rootDefaultStyle;
303 303
304 Document& m_document; 304 Document& m_document;
305 SelectorFilter m_selectorFilter; 305 SelectorFilter m_selectorFilter;
306 306
307 RefPtr<ViewportStyleResolver> m_viewportStyleResolver; 307 RefPtr<ViewportStyleResolver> m_viewportStyleResolver;
308 308
309 // FIXME: Oilpan: This should be a WillBePersistentHeapListHashSet.
310 // This is safe for now, but should be updated when we support
311 // heap allocated ListHashSets.
309 ListHashSet<CSSStyleSheet*, 16> m_pendingStyleSheets; 312 ListHashSet<CSSStyleSheet*, 16> m_pendingStyleSheets;
310 313
311 ScopedStyleTree m_styleTree; 314 ScopedStyleTree m_styleTree;
312 315
313 // FIXME: The entire logic of collecting features on StyleResolver, as well as transferring them 316 // FIXME: The entire logic of collecting features on StyleResolver, as well as transferring them
314 // between various parts of machinery smells wrong. This needs to be better somehow. 317 // between various parts of machinery smells wrong. This needs to be better somehow.
315 RuleFeatureSet m_features; 318 RuleFeatureSet m_features;
316 OwnPtrWillBePersistent<RuleSet> m_siblingRuleSet; 319 OwnPtrWillBePersistent<RuleSet> m_siblingRuleSet;
317 OwnPtrWillBePersistent<RuleSet> m_uncommonAttributeRuleSet; 320 OwnPtrWillBePersistent<RuleSet> m_uncommonAttributeRuleSet;
318 321
(...skipping 11 matching lines...) Expand all
330 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; 333 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals;
331 unsigned m_styleResolverStatsSequence; 334 unsigned m_styleResolverStatsSequence;
332 335
333 // Use only for Internals::updateStyleAndReturnAffectedElementCount. 336 // Use only for Internals::updateStyleAndReturnAffectedElementCount.
334 unsigned m_accessCount; 337 unsigned m_accessCount;
335 }; 338 };
336 339
337 } // namespace WebCore 340 } // namespace WebCore
338 341
339 #endif // StyleResolver_h 342 #endif // StyleResolver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698