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

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

Issue 242883002: Remove MediaValues' dependency on RenderStyle (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified minimal recalc tests to represent reduced recalc. 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 unified diff | Download patch
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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 292
293 static RenderStyle* s_styleNotYetAvailable; 293 static RenderStyle* s_styleNotYetAvailable;
294 294
295 void cacheBorderAndBackground(); 295 void cacheBorderAndBackground();
296 296
297 MatchedPropertiesCache m_matchedPropertiesCache; 297 MatchedPropertiesCache m_matchedPropertiesCache;
298 298
299 OwnPtr<MediaQueryEvaluator> m_medium; 299 OwnPtr<MediaQueryEvaluator> m_medium;
300 MediaQueryResultList m_viewportDependentMediaQueryResults; 300 MediaQueryResultList m_viewportDependentMediaQueryResults;
301 301
302 RefPtr<RenderStyle> m_rootDefaultStyle;
303
304 Document& m_document; 302 Document& m_document;
305 SelectorFilter m_selectorFilter; 303 SelectorFilter m_selectorFilter;
306 304
307 OwnPtrWillBeMember<ViewportStyleResolver> m_viewportStyleResolver; 305 OwnPtrWillBeMember<ViewportStyleResolver> m_viewportStyleResolver;
308 306
309 // FIXME: Oilpan: This should be a WillBeHeapListHashSet. 307 // FIXME: Oilpan: This should be a WillBeHeapListHashSet.
310 // This is safe for now, but should be updated when we support 308 // This is safe for now, but should be updated when we support
311 // heap allocated ListHashSets. 309 // heap allocated ListHashSets.
312 ListHashSet<CSSStyleSheet*, 16> m_pendingStyleSheets; 310 ListHashSet<CSSStyleSheet*, 16> m_pendingStyleSheets;
313 311
(...skipping 19 matching lines...) Expand all
333 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; 331 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals;
334 unsigned m_styleResolverStatsSequence; 332 unsigned m_styleResolverStatsSequence;
335 333
336 // Use only for Internals::updateStyleAndReturnAffectedElementCount. 334 // Use only for Internals::updateStyleAndReturnAffectedElementCount.
337 unsigned m_accessCount; 335 unsigned m_accessCount;
338 }; 336 };
339 337
340 } // namespace WebCore 338 } // namespace WebCore
341 339
342 #endif // StyleResolver_h 340 #endif // StyleResolver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698