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/animation/PropertyHandle.h" | 5 #include "core/animation/PropertyHandle.h" |
6 | 6 |
7 namespace blink { | 7 namespace blink { |
8 | 8 |
9 bool PropertyHandle::operator==(const PropertyHandle& other) const | 9 bool PropertyHandle::operator==(const PropertyHandle& other) const |
10 { | 10 { |
(...skipping 19 matching lines...) Expand all Loading... |
30 case HandlePresentationAttribute: | 30 case HandlePresentationAttribute: |
31 return -m_cssProperty; | 31 return -m_cssProperty; |
32 case HandleSVGAttribute: | 32 case HandleSVGAttribute: |
33 return QualifiedNameHash::hash(*m_svgAttribute); | 33 return QualifiedNameHash::hash(*m_svgAttribute); |
34 default: | 34 default: |
35 ASSERT_NOT_REACHED(); | 35 ASSERT_NOT_REACHED(); |
36 return 0; | 36 return 0; |
37 } | 37 } |
38 } | 38 } |
39 | 39 |
40 } | 40 } // namespace blink |
OLD | NEW |