| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/CSSIdentifierValue.h" | 5 #include "core/css/CSSIdentifierValue.h" |
| 6 | 6 |
| 7 #include "core/css/CSSMarkup.h" | 7 #include "core/css/CSSMarkup.h" |
| 8 #include "core/css/CSSValuePool.h" | 8 #include "core/css/CSSValuePool.h" |
| 9 #include "platform/Length.h" | 9 #include "platform/Length.h" |
| 10 #include "wtf/text/StringBuilder.h" | 10 #include "platform/wtf/text/StringBuilder.h" |
| 11 #include "wtf/text/WTFString.h" | 11 #include "platform/wtf/text/WTFString.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 static const AtomicString& ValueName(CSSValueID value_id) { | 15 static const AtomicString& ValueName(CSSValueID value_id) { |
| 16 DCHECK_GE(value_id, 0); | 16 DCHECK_GE(value_id, 0); |
| 17 DCHECK_LT(value_id, numCSSValueKeywords); | 17 DCHECK_LT(value_id, numCSSValueKeywords); |
| 18 | 18 |
| 19 if (value_id < 0) | 19 if (value_id < 0) |
| 20 return g_null_atom; | 20 return g_null_atom; |
| 21 | 21 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 NOTREACHED(); | 75 NOTREACHED(); |
| 76 break; | 76 break; |
| 77 } | 77 } |
| 78 } | 78 } |
| 79 | 79 |
| 80 DEFINE_TRACE_AFTER_DISPATCH(CSSIdentifierValue) { | 80 DEFINE_TRACE_AFTER_DISPATCH(CSSIdentifierValue) { |
| 81 CSSValue::TraceAfterDispatch(visitor); | 81 CSSValue::TraceAfterDispatch(visitor); |
| 82 } | 82 } |
| 83 | 83 |
| 84 } // namespace blink | 84 } // namespace blink |
| OLD | NEW |