OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 26 matching lines...) Expand all Loading... |
37 return m_direction->cssText() + ' ' + m_offset->cssText(); | 37 return m_direction->cssText() + ' ' + m_offset->cssText(); |
38 } | 38 } |
39 | 39 |
40 bool CSSReflectValue::equals(const CSSReflectValue& other) const | 40 bool CSSReflectValue::equals(const CSSReflectValue& other) const |
41 { | 41 { |
42 return m_direction == other.m_direction | 42 return m_direction == other.m_direction |
43 && compareCSSValuePtr(m_offset, other.m_offset) | 43 && compareCSSValuePtr(m_offset, other.m_offset) |
44 && compareCSSValuePtr(m_mask, other.m_mask); | 44 && compareCSSValuePtr(m_mask, other.m_mask); |
45 } | 45 } |
46 | 46 |
47 DEFINE_TRACE_AFTER_DISPATCH(CSSReflectValue) | |
48 { | |
49 visitor->trace(m_direction); | |
50 visitor->trace(m_offset); | |
51 visitor->trace(m_mask); | |
52 CSSValue::traceAfterDispatch(visitor); | |
53 } | |
54 | |
55 } // namespace blink | 47 } // namespace blink |
OLD | NEW |