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

Side by Side Diff: Source/core/css/ElementRuleCollector.h

Issue 795043002: Have ElementRuleCollector keep match result vector as part object. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove a local binding Created 6 years 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
« no previous file with comments | « no previous file | Source/core/css/ElementRuleCollector.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 const SelectorFilter& m_selectorFilter; 163 const SelectorFilter& m_selectorFilter;
164 RefPtr<RenderStyle> m_style; // FIXME: This can be mutated during matching! 164 RefPtr<RenderStyle> m_style; // FIXME: This can be mutated during matching!
165 165
166 PseudoStyleRequest m_pseudoStyleRequest; 166 PseudoStyleRequest m_pseudoStyleRequest;
167 SelectorChecker::Mode m_mode; 167 SelectorChecker::Mode m_mode;
168 bool m_canUseFastReject; 168 bool m_canUseFastReject;
169 bool m_sameOriginOnly; 169 bool m_sameOriginOnly;
170 bool m_matchingUARules; 170 bool m_matchingUARules;
171 bool m_scopeContainsLastMatchedElement; 171 bool m_scopeContainsLastMatchedElement;
172 172
173 OwnPtrWillBeMember<WillBeHeapVector<MatchedRule, 32> > m_matchedRules; 173 WillBeHeapVector<MatchedRule, 32> m_matchedRules;
174 174
175 // Output. 175 // Output.
176 RefPtrWillBeMember<StaticCSSRuleList> m_cssRuleList; 176 RefPtrWillBeMember<StaticCSSRuleList> m_cssRuleList;
177 RefPtrWillBeMember<StyleRuleList> m_styleRuleList; 177 RefPtrWillBeMember<StyleRuleList> m_styleRuleList;
178 MatchResult m_result; 178 MatchResult m_result;
179 }; 179 };
180 180
181 } // namespace blink 181 } // namespace blink
182 182
183 #endif // ElementRuleCollector_h 183 #endif // ElementRuleCollector_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/ElementRuleCollector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698