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

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

Issue 2755493004: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in core/css/ (Closed)
Patch Set: All windows error are Resolved now. Created 3 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/CSSAtRuleID.h" 5 #include "core/css/parser/CSSAtRuleID.h"
6 6
7 #include "core/css/parser/CSSParserContext.h" 7 #include "core/css/parser/CSSParserContext.h"
8 #include "core/frame/UseCounter.h" 8 #include "core/frame/UseCounter.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 feature = UseCounter::CSSAtRuleWebkitKeyframes; 71 feature = UseCounter::CSSAtRuleWebkitKeyframes;
72 break; 72 break;
73 73
74 case CSSAtRuleApply: 74 case CSSAtRuleApply:
75 feature = UseCounter::CSSAtRuleApply; 75 feature = UseCounter::CSSAtRuleApply;
76 break; 76 break;
77 77
78 case CSSAtRuleInvalid: 78 case CSSAtRuleInvalid:
79 // fallthrough 79 // fallthrough
80 default: 80 default:
81 ASSERT_NOT_REACHED(); 81 NOTREACHED();
82 return; 82 return;
83 } 83 }
84 context->count(feature); 84 context->count(feature);
85 } 85 }
86 86
87 } // namespace blink 87 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698