| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Rob Buis <buis@kde.org> | 2 * Copyright (C) 2006 Rob Buis <buis@kde.org> |
| 3 * (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> | 3 * (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 4 * Copyright (C) 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 m_image = nullptr; | 117 m_image = nullptr; |
| 118 m_accessedImage = false; | 118 m_accessedImage = false; |
| 119 } | 119 } |
| 120 | 120 |
| 121 bool CSSCursorImageValue::equals(const CSSCursorImageValue& other) const | 121 bool CSSCursorImageValue::equals(const CSSCursorImageValue& other) const |
| 122 { | 122 { |
| 123 return m_hasHotSpot ? other.m_hasHotSpot && m_hotSpot == other.m_hotSpot : !
other.m_hasHotSpot | 123 return m_hasHotSpot ? other.m_hasHotSpot && m_hotSpot == other.m_hotSpot : !
other.m_hasHotSpot |
| 124 && compareCSSValuePtr(m_imageValue, other.m_imageValue); | 124 && compareCSSValuePtr(m_imageValue, other.m_imageValue); |
| 125 } | 125 } |
| 126 | 126 |
| 127 void CSSCursorImageValue::traceAfterDispatch(Visitor* visitor) | |
| 128 { | |
| 129 visitor->trace(m_imageValue); | |
| 130 CSSValue::traceAfterDispatch(visitor); | |
| 131 } | |
| 132 | |
| 133 } // namespace blink | 127 } // namespace blink |
| OLD | NEW |