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

Side by Side Diff: Source/core/css/parser/CSSParserImpl.cpp

Issue 1064813002: Oilpan: fix build after r193243. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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 #include "config.h" 5 #include "config.h"
6 #include "core/css/parser/CSSParserImpl.h" 6 #include "core/css/parser/CSSParserImpl.h"
7 7
8 #include "core/css/CSSKeyframesRule.h" 8 #include "core/css/CSSKeyframesRule.h"
9 #include "core/css/CSSStyleSheet.h" 9 #include "core/css/CSSStyleSheet.h"
10 #include "core/css/StylePropertySet.h" 10 #include "core/css/StylePropertySet.h"
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 break; 513 break;
514 case IdentToken: { 514 case IdentToken: {
515 const CSSParserToken* declarationStart = &range.peek(); 515 const CSSParserToken* declarationStart = &range.peek();
516 while (!range.atEnd() && range.peek().type() != SemicolonToken) 516 while (!range.atEnd() && range.peek().type() != SemicolonToken)
517 range.consumeComponentValue(); 517 range.consumeComponentValue();
518 consumeDeclaration(range.makeSubRange(declarationStart, &range.peek( )), ruleType); 518 consumeDeclaration(range.makeSubRange(declarationStart, &range.peek( )), ruleType);
519 break; 519 break;
520 } 520 }
521 case AtKeywordToken: { 521 case AtKeywordToken: {
522 RefPtrWillBeRawPtr<StyleRuleBase> rule = consumeAtRule(range, NoRule s); 522 RefPtrWillBeRawPtr<StyleRuleBase> rule = consumeAtRule(range, NoRule s);
523 ASSERT(!rule); 523 ASSERT_UNUSED(rule, !rule);
524 break; 524 break;
525 } 525 }
526 default: // Parse error, unexpected token in declaration list 526 default: // Parse error, unexpected token in declaration list
527 while (!range.atEnd() && range.peek().type() != SemicolonToken) 527 while (!range.atEnd() && range.peek().type() != SemicolonToken)
528 range.consumeComponentValue(); 528 range.consumeComponentValue();
529 break; 529 break;
530 } 530 }
531 } 531 }
532 } 532 }
533 533
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 else 583 else
584 return nullptr; // Parser error, invalid value in keyframe selector 584 return nullptr; // Parser error, invalid value in keyframe selector
585 if (range.atEnd()) 585 if (range.atEnd())
586 return result.release(); 586 return result.release();
587 if (range.consume().type() != CommaToken) 587 if (range.consume().type() != CommaToken)
588 return nullptr; // Parser error 588 return nullptr; // Parser error
589 } 589 }
590 } 590 }
591 591
592 } // namespace blink 592 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698