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

Side by Side Diff: third_party/WebKit/Source/core/css/parser/CSSParserToken.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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
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 #include "core/css/parser/CSSParserToken.h" 5 #include "core/css/parser/CSSParserToken.h"
6 6
7 #include <limits.h>
7 #include "core/css/CSSMarkup.h" 8 #include "core/css/CSSMarkup.h"
8 #include "core/css/CSSPrimitiveValue.h" 9 #include "core/css/CSSPrimitiveValue.h"
9 #include "core/css/parser/CSSPropertyParser.h" 10 #include "core/css/parser/CSSPropertyParser.h"
10 #include "wtf/HashMap.h" 11 #include "wtf/HashMap.h"
11 #include "wtf/text/StringBuilder.h" 12 #include "wtf/text/StringBuilder.h"
12 #include <limits.h>
13 13
14 namespace blink { 14 namespace blink {
15 15
16 CSSParserToken::CSSParserToken(CSSParserTokenType type, BlockType blockType) 16 CSSParserToken::CSSParserToken(CSSParserTokenType type, BlockType blockType)
17 : m_type(type), m_blockType(blockType) {} 17 : m_type(type), m_blockType(blockType) {}
18 18
19 // Just a helper used for Delimiter tokens. 19 // Just a helper used for Delimiter tokens.
20 CSSParserToken::CSSParserToken(CSSParserTokenType type, UChar c) 20 CSSParserToken::CSSParserToken(CSSParserTokenType type, UChar c)
21 : m_type(type), m_blockType(NotBlock), m_delimiter(c) { 21 : m_type(type), m_blockType(NotBlock), m_delimiter(c) {
22 ASSERT(m_type == DelimiterToken); 22 ASSERT(m_type == DelimiterToken);
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 return builder.append('}'); 277 return builder.append('}');
278 278
279 case EOFToken: 279 case EOFToken:
280 case CommentToken: 280 case CommentToken:
281 ASSERT_NOT_REACHED(); 281 ASSERT_NOT_REACHED();
282 return; 282 return;
283 } 283 }
284 } 284 }
285 285
286 } // namespace blink 286 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698