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

Side by Side Diff: Source/core/css/parser/SizesCalcParser.h

Issue 1278983003: Adding allocator annotations to blink classes and structs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed patch conflict Created 5 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
« no previous file with comments | « Source/core/css/SelectorChecker.h ('k') | Source/core/dom/SelectorQuery.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SizesCalcParser_h 5 #ifndef SizesCalcParser_h
6 #define SizesCalcParser_h 6 #define SizesCalcParser_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/css/MediaValues.h" 9 #include "core/css/MediaValues.h"
10 #include "core/css/parser/CSSParserToken.h" 10 #include "core/css/parser/CSSParserToken.h"
11 #include "core/css/parser/CSSParserTokenRange.h" 11 #include "core/css/parser/CSSParserTokenRange.h"
12 #include "wtf/text/WTFString.h" 12 #include "wtf/text/WTFString.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 struct SizesCalcValue { 16 struct SizesCalcValue {
17 ALLOW_ONLY_INLINE_ALLOCATION();
17 double value; 18 double value;
18 bool isLength; 19 bool isLength;
19 UChar operation; 20 UChar operation;
20 21
21 SizesCalcValue() 22 SizesCalcValue()
22 : value(0) 23 : value(0)
23 , isLength(false) 24 , isLength(false)
24 , operation(0) 25 , operation(0)
25 { 26 {
26 } 27 }
(...skipping 25 matching lines...) Expand all
52 Vector<SizesCalcValue> m_valueList; 53 Vector<SizesCalcValue> m_valueList;
53 RefPtrWillBeMember<MediaValues> m_mediaValues; 54 RefPtrWillBeMember<MediaValues> m_mediaValues;
54 bool m_isValid; 55 bool m_isValid;
55 float m_result; 56 float m_result;
56 }; 57 };
57 58
58 } // namespace blink 59 } // namespace blink
59 60
60 #endif // SizesCalcParser_h 61 #endif // SizesCalcParser_h
61 62
OLDNEW
« no previous file with comments | « Source/core/css/SelectorChecker.h ('k') | Source/core/dom/SelectorQuery.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698