| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |