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

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

Issue 989173003: Fix template angle bracket syntax in css (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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/CSSSelectorList.cpp ('k') | Source/core/css/CSSValuePool.h » ('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 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010, 2012 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 bool m_isDisabled; 135 bool m_isDisabled;
136 String m_title; 136 String m_title;
137 RefPtrWillBeMember<MediaQuerySet> m_mediaQueries; 137 RefPtrWillBeMember<MediaQuerySet> m_mediaQueries;
138 138
139 RawPtrWillBeMember<Node> m_ownerNode; 139 RawPtrWillBeMember<Node> m_ownerNode;
140 RawPtrWillBeMember<CSSRule> m_ownerRule; 140 RawPtrWillBeMember<CSSRule> m_ownerRule;
141 141
142 TextPosition m_startPosition; 142 TextPosition m_startPosition;
143 bool m_loadCompleted; 143 bool m_loadCompleted;
144 mutable RefPtrWillBeMember<MediaList> m_mediaCSSOMWrapper; 144 mutable RefPtrWillBeMember<MediaList> m_mediaCSSOMWrapper;
145 mutable WillBeHeapVector<RefPtrWillBeMember<CSSRule> > m_childRuleCSSOMWrapp ers; 145 mutable WillBeHeapVector<RefPtrWillBeMember<CSSRule>> m_childRuleCSSOMWrappe rs;
146 mutable OwnPtrWillBeMember<CSSRuleList> m_ruleListCSSOMWrapper; 146 mutable OwnPtrWillBeMember<CSSRuleList> m_ruleListCSSOMWrapper;
147 }; 147 };
148 148
149 inline CSSStyleSheet::RuleMutationScope::RuleMutationScope(CSSStyleSheet* sheet) 149 inline CSSStyleSheet::RuleMutationScope::RuleMutationScope(CSSStyleSheet* sheet)
150 : m_styleSheet(sheet) 150 : m_styleSheet(sheet)
151 { 151 {
152 if (m_styleSheet) 152 if (m_styleSheet)
153 m_styleSheet->willMutateRules(); 153 m_styleSheet->willMutateRules();
154 } 154 }
155 155
156 inline CSSStyleSheet::RuleMutationScope::RuleMutationScope(CSSRule* rule) 156 inline CSSStyleSheet::RuleMutationScope::RuleMutationScope(CSSRule* rule)
157 : m_styleSheet(rule ? rule->parentStyleSheet() : 0) 157 : m_styleSheet(rule ? rule->parentStyleSheet() : 0)
158 { 158 {
159 if (m_styleSheet) 159 if (m_styleSheet)
160 m_styleSheet->willMutateRules(); 160 m_styleSheet->willMutateRules();
161 } 161 }
162 162
163 inline CSSStyleSheet::RuleMutationScope::~RuleMutationScope() 163 inline CSSStyleSheet::RuleMutationScope::~RuleMutationScope()
164 { 164 {
165 if (m_styleSheet) 165 if (m_styleSheet)
166 m_styleSheet->didMutateRules(); 166 m_styleSheet->didMutateRules();
167 } 167 }
168 168
169 DEFINE_TYPE_CASTS(CSSStyleSheet, StyleSheet, sheet, sheet->isCSSStyleSheet(), sh eet.isCSSStyleSheet()); 169 DEFINE_TYPE_CASTS(CSSStyleSheet, StyleSheet, sheet, sheet->isCSSStyleSheet(), sh eet.isCSSStyleSheet());
170 170
171 } // namespace blink 171 } // namespace blink
172 172
173 #endif 173 #endif
OLDNEW
« no previous file with comments | « Source/core/css/CSSSelectorList.cpp ('k') | Source/core/css/CSSValuePool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698