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

Side by Side Diff: Source/core/css/CSSGroupingRule.cpp

Issue 17480002: Remove unused includes from core/accessibility, core/css and core/dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased ; update <wtf/Foo.h> to "wtf/Foo.h" in changed files Created 7 years, 6 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 | « Source/core/css/CSSFunctionValue.cpp ('k') | Source/core/css/CSSImageGeneratorValue.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) 2011 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved.
3 * Copyright (C) 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2012 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above 9 * 1. Redistributions of source code must retain the above
10 * copyright notice, this list of conditions and the following 10 * copyright notice, this list of conditions and the following
(...skipping 20 matching lines...) Expand all
31 #include "config.h" 31 #include "config.h"
32 32
33 #include "core/css/CSSGroupingRule.h" 33 #include "core/css/CSSGroupingRule.h"
34 34
35 #include "core/css/CSSParser.h" 35 #include "core/css/CSSParser.h"
36 #include "core/css/CSSRuleList.h" 36 #include "core/css/CSSRuleList.h"
37 #include "core/css/CSSStyleSheet.h" 37 #include "core/css/CSSStyleSheet.h"
38 #include "core/css/StyleRule.h" 38 #include "core/css/StyleRule.h"
39 #include "core/dom/ExceptionCode.h" 39 #include "core/dom/ExceptionCode.h"
40 #include "core/dom/WebCoreMemoryInstrumentation.h" 40 #include "core/dom/WebCoreMemoryInstrumentation.h"
41 #include <wtf/MemoryInstrumentationVector.h> 41 #include "wtf/text/StringBuilder.h"
42 #include <wtf/text/StringBuilder.h>
43 42
44 namespace WebCore { 43 namespace WebCore {
45 44
46 CSSGroupingRule::CSSGroupingRule(StyleRuleGroup* groupRule, CSSStyleSheet* paren t) 45 CSSGroupingRule::CSSGroupingRule(StyleRuleGroup* groupRule, CSSStyleSheet* paren t)
47 : CSSRule(parent) 46 : CSSRule(parent)
48 , m_groupRule(groupRule) 47 , m_groupRule(groupRule)
49 , m_childRuleCSSOMWrappers(groupRule->childRules().size()) 48 , m_childRuleCSSOMWrappers(groupRule->childRules().size())
50 { 49 {
51 } 50 }
52 51
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 void CSSGroupingRule::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) cons t 162 void CSSGroupingRule::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) cons t
164 { 163 {
165 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); 164 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
166 CSSRule::reportMemoryUsage(memoryObjectInfo); 165 CSSRule::reportMemoryUsage(memoryObjectInfo);
167 info.addMember(m_groupRule, "groupRule"); 166 info.addMember(m_groupRule, "groupRule");
168 info.addMember(m_childRuleCSSOMWrappers, "childRuleCSSOMWrappers"); 167 info.addMember(m_childRuleCSSOMWrappers, "childRuleCSSOMWrappers");
169 info.addMember(m_ruleListCSSOMWrapper, "ruleListCSSOMWrapper"); 168 info.addMember(m_ruleListCSSOMWrapper, "ruleListCSSOMWrapper");
170 } 169 }
171 170
172 } // namespace WebCore 171 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/CSSFunctionValue.cpp ('k') | Source/core/css/CSSImageGeneratorValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698