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

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

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/PropertySetCSSStyleDeclaration.cpp ('k') | Source/core/css/RuleFeature.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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 RuleFeatureSet() 48 RuleFeatureSet()
49 : usesFirstLineRules(false) 49 : usesFirstLineRules(false)
50 , usesBeforeAfterRules(false) 50 , usesBeforeAfterRules(false)
51 { } 51 { }
52 52
53 void add(const RuleFeatureSet&); 53 void add(const RuleFeatureSet&);
54 void clear(); 54 void clear();
55 55
56 void collectFeaturesFromSelector(const CSSSelector*); 56 void collectFeaturesFromSelector(const CSSSelector*);
57 57
58 void reportMemoryUsage(MemoryObjectInfo*) const;
59
60 HashSet<AtomicStringImpl*> idsInRules; 58 HashSet<AtomicStringImpl*> idsInRules;
61 HashSet<AtomicStringImpl*> classesInRules; 59 HashSet<AtomicStringImpl*> classesInRules;
62 HashSet<AtomicStringImpl*> attrsInRules; 60 HashSet<AtomicStringImpl*> attrsInRules;
63 Vector<RuleFeature> siblingRules; 61 Vector<RuleFeature> siblingRules;
64 Vector<RuleFeature> uncommonAttributeRules; 62 Vector<RuleFeature> uncommonAttributeRules;
65 bool usesFirstLineRules; 63 bool usesFirstLineRules;
66 bool usesBeforeAfterRules; 64 bool usesBeforeAfterRules;
67 }; 65 };
68 66
69 } // namespace WebCore 67 } // namespace WebCore
70 68
71 #endif // RuleFeature_h 69 #endif // RuleFeature_h
OLDNEW
« no previous file with comments | « Source/core/css/PropertySetCSSStyleDeclaration.cpp ('k') | Source/core/css/RuleFeature.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698