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

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

Issue 2207693003: Removed unused accessor for StyleResolver::m_features. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 // Exposed for ComputedStyle::isStyleAvilable(). 147 // Exposed for ComputedStyle::isStyleAvilable().
148 static ComputedStyle* styleNotYetAvailable() { return s_styleNotYetAvailable ; } 148 static ComputedStyle* styleNotYetAvailable() { return s_styleNotYetAvailable ; }
149 149
150 RuleFeatureSet& ensureUpdatedRuleFeatureSet() 150 RuleFeatureSet& ensureUpdatedRuleFeatureSet()
151 { 151 {
152 if (hasPendingAuthorStyleSheets()) 152 if (hasPendingAuthorStyleSheets())
153 appendPendingAuthorStyleSheets(); 153 appendPendingAuthorStyleSheets();
154 return m_features; 154 return m_features;
155 } 155 }
156 156
157 RuleFeatureSet& ruleFeatureSet()
158 {
159 return m_features;
160 }
161
162 StyleSharingList& styleSharingList(); 157 StyleSharingList& styleSharingList();
163 158
164 bool hasRulesForId(const AtomicString&) const; 159 bool hasRulesForId(const AtomicString&) const;
165 bool hasFullscreenUAStyle() const { return m_hasFullscreenUAStyle; } 160 bool hasFullscreenUAStyle() const { return m_hasFullscreenUAStyle; }
166 161
167 void addToStyleSharingList(Element&); 162 void addToStyleSharingList(Element&);
168 void clearStyleSharingList(); 163 void clearStyleSharingList();
169 164
170 void increaseStyleSharingDepth() { ++m_styleSharingDepth; } 165 void increaseStyleSharingDepth() { ++m_styleSharingDepth; }
171 void decreaseStyleSharingDepth() { --m_styleSharingDepth; } 166 void decreaseStyleSharingDepth() { --m_styleSharingDepth; }
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 bool m_printMediaType; 246 bool m_printMediaType;
252 bool m_hasFullscreenUAStyle = false; 247 bool m_hasFullscreenUAStyle = false;
253 248
254 unsigned m_styleSharingDepth; 249 unsigned m_styleSharingDepth;
255 HeapVector<Member<StyleSharingList>, styleSharingMaxDepth> m_styleSharingLis ts; 250 HeapVector<Member<StyleSharingList>, styleSharingMaxDepth> m_styleSharingLis ts;
256 }; 251 };
257 252
258 } // namespace blink 253 } // namespace blink
259 254
260 #endif // StyleResolver_h 255 #endif // StyleResolver_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698