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

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

Issue 405953002: Fix MQEvaluator::mediaType() related perf regressions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Really fix the issue Created 6 years, 4 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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 // between various parts of machinery smells wrong. This needs to be better somehow. 298 // between various parts of machinery smells wrong. This needs to be better somehow.
299 RuleFeatureSet m_features; 299 RuleFeatureSet m_features;
300 OwnPtrWillBeMember<RuleSet> m_siblingRuleSet; 300 OwnPtrWillBeMember<RuleSet> m_siblingRuleSet;
301 OwnPtrWillBeMember<RuleSet> m_uncommonAttributeRuleSet; 301 OwnPtrWillBeMember<RuleSet> m_uncommonAttributeRuleSet;
302 302
303 // FIXME: watched selectors should be implemented using injected author styl esheets: http://crbug.com/316960 303 // FIXME: watched selectors should be implemented using injected author styl esheets: http://crbug.com/316960
304 OwnPtrWillBeMember<RuleSet> m_watchedSelectorsRules; 304 OwnPtrWillBeMember<RuleSet> m_watchedSelectorsRules;
305 TreeBoundaryCrossingRules m_treeBoundaryCrossingRules; 305 TreeBoundaryCrossingRules m_treeBoundaryCrossingRules;
306 306
307 bool m_needCollectFeatures; 307 bool m_needCollectFeatures;
308 bool m_printMediaType;
308 309
309 StyleResourceLoader m_styleResourceLoader; 310 StyleResourceLoader m_styleResourceLoader;
310 311
311 unsigned m_styleSharingDepth; 312 unsigned m_styleSharingDepth;
312 WillBeHeapVector<OwnPtrWillBeMember<StyleSharingList>, styleSharingMaxDepth> m_styleSharingLists; 313 WillBeHeapVector<OwnPtrWillBeMember<StyleSharingList>, styleSharingMaxDepth> m_styleSharingLists;
313 314
314 OwnPtr<StyleResolverStats> m_styleResolverStats; 315 OwnPtr<StyleResolverStats> m_styleResolverStats;
315 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; 316 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals;
316 unsigned m_styleResolverStatsSequence; 317 unsigned m_styleResolverStatsSequence;
317 318
318 // Use only for Internals::updateStyleAndReturnAffectedElementCount. 319 // Use only for Internals::updateStyleAndReturnAffectedElementCount.
319 unsigned m_accessCount; 320 unsigned m_accessCount;
320 }; 321 };
321 322
322 } // namespace blink 323 } // namespace blink
323 324
324 #endif // StyleResolver_h 325 #endif // StyleResolver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698