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

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

Issue 791583002: Oilpan: remove redundant WILL_BE_EAGERLY_TRACED() declarations. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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/CSSKeyframeRule.h ('k') | Source/core/css/RuleSet.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, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 unsigned m_primitiveUnitType : 7; // CSSPrimitiveValue::UnitType 179 unsigned m_primitiveUnitType : 7; // CSSPrimitiveValue::UnitType
180 mutable unsigned m_hasCachedCSSText : 1; 180 mutable unsigned m_hasCachedCSSText : 1;
181 unsigned m_isQuirkValue : 1; 181 unsigned m_isQuirkValue : 1;
182 182
183 unsigned m_valueListSeparator : ValueListSeparatorBits; 183 unsigned m_valueListSeparator : ValueListSeparatorBits;
184 184
185 private: 185 private:
186 unsigned m_classType : ClassTypeBits; // ClassType 186 unsigned m_classType : ClassTypeBits; // ClassType
187 }; 187 };
188 188
189 WILL_BE_EAGERLY_TRACED(CSSValue);
190
191 template<typename CSSValueType, size_t inlineCapacity> 189 template<typename CSSValueType, size_t inlineCapacity>
192 inline bool compareCSSValueVector(const WillBeHeapVector<RefPtrWillBeMember<CSSV alueType>, inlineCapacity>& firstVector, const WillBeHeapVector<RefPtrWillBeMemb er<CSSValueType>, inlineCapacity>& secondVector) 190 inline bool compareCSSValueVector(const WillBeHeapVector<RefPtrWillBeMember<CSSV alueType>, inlineCapacity>& firstVector, const WillBeHeapVector<RefPtrWillBeMemb er<CSSValueType>, inlineCapacity>& secondVector)
193 { 191 {
194 size_t size = firstVector.size(); 192 size_t size = firstVector.size();
195 if (size != secondVector.size()) 193 if (size != secondVector.size())
196 return false; 194 return false;
197 195
198 for (size_t i = 0; i < size; i++) { 196 for (size_t i = 0; i < size; i++) {
199 const RefPtrWillBeMember<CSSValueType>& firstPtr = firstVector[i]; 197 const RefPtrWillBeMember<CSSValueType>& firstPtr = firstVector[i];
200 const RefPtrWillBeMember<CSSValueType>& secondPtr = secondVector[i]; 198 const RefPtrWillBeMember<CSSValueType>& secondPtr = secondVector[i];
(...skipping 21 matching lines...) Expand all
222 { 220 {
223 return first ? second && first->equals(*second) : !second; 221 return first ? second && first->equals(*second) : !second;
224 } 222 }
225 223
226 #define DEFINE_CSS_VALUE_TYPE_CASTS(thisType, predicate) \ 224 #define DEFINE_CSS_VALUE_TYPE_CASTS(thisType, predicate) \
227 DEFINE_TYPE_CASTS(thisType, CSSValue, value, value->predicate, value.predica te) 225 DEFINE_TYPE_CASTS(thisType, CSSValue, value, value->predicate, value.predica te)
228 226
229 } // namespace blink 227 } // namespace blink
230 228
231 #endif // CSSValue_h 229 #endif // CSSValue_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSKeyframeRule.h ('k') | Source/core/css/RuleSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698