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

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

Issue 463543002: Oilpan: Ensure that classes with virtual trace methods always have vtables for their left-most base… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 void printStats(); 205 void printStats();
206 206
207 unsigned accessCount() const { return m_accessCount; } 207 unsigned accessCount() const { return m_accessCount; }
208 void didAccess() { ++m_accessCount; } 208 void didAccess() { ++m_accessCount; }
209 209
210 void increaseStyleSharingDepth() { ++m_styleSharingDepth; } 210 void increaseStyleSharingDepth() { ++m_styleSharingDepth; }
211 void decreaseStyleSharingDepth() { --m_styleSharingDepth; } 211 void decreaseStyleSharingDepth() { --m_styleSharingDepth; }
212 212
213 PassRefPtrWillBeRawPtr<PseudoElement> createPseudoElementIfNeeded(Element& p arent, PseudoId); 213 PassRefPtrWillBeRawPtr<PseudoElement> createPseudoElementIfNeeded(Element& p arent, PseudoId);
214 214
215 void trace(Visitor*); 215 virtual void trace(Visitor*);
216 216
217 private: 217 private:
218 void initWatchedSelectorRules(const WillBeHeapVector<RefPtrWillBeMember<Styl eRule> >& watchedSelectors); 218 void initWatchedSelectorRules(const WillBeHeapVector<RefPtrWillBeMember<Styl eRule> >& watchedSelectors);
219 219
220 // FIXME: This should probably go away, folded into FontBuilder. 220 // FIXME: This should probably go away, folded into FontBuilder.
221 void updateFont(StyleResolverState&); 221 void updateFont(StyleResolverState&);
222 222
223 void loadPendingResources(StyleResolverState&); 223 void loadPendingResources(StyleResolverState&);
224 void adjustRenderStyle(StyleResolverState&, Element*); 224 void adjustRenderStyle(StyleResolverState&, Element*);
225 225
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; 315 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals;
316 unsigned m_styleResolverStatsSequence; 316 unsigned m_styleResolverStatsSequence;
317 317
318 // Use only for Internals::updateStyleAndReturnAffectedElementCount. 318 // Use only for Internals::updateStyleAndReturnAffectedElementCount.
319 unsigned m_accessCount; 319 unsigned m_accessCount;
320 }; 320 };
321 321
322 } // namespace blink 322 } // namespace blink
323 323
324 #endif // StyleResolver_h 324 #endif // StyleResolver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698