OLD | NEW |
1 /** | 1 /** |
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2004, 2005, 2006, 2009 Apple Computer, Inc. | 3 * Copyright (C) 2004, 2005, 2006, 2009 Apple Computer, Inc. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
14 * | 14 * |
15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
19 */ | 19 */ |
20 #include "sky/engine/config.h" | |
21 #include "sky/engine/core/css/CSSShadowValue.h" | 20 #include "sky/engine/core/css/CSSShadowValue.h" |
22 | 21 |
23 #include "sky/engine/core/css/CSSPrimitiveValue.h" | 22 #include "sky/engine/core/css/CSSPrimitiveValue.h" |
24 #include "sky/engine/wtf/text/StringBuilder.h" | 23 #include "sky/engine/wtf/text/StringBuilder.h" |
25 #include "sky/engine/wtf/text/WTFString.h" | 24 #include "sky/engine/wtf/text/WTFString.h" |
26 | 25 |
27 namespace blink { | 26 namespace blink { |
28 | 27 |
29 // Used for text-shadow and box-shadow | 28 // Used for text-shadow and box-shadow |
30 CSSShadowValue::CSSShadowValue(PassRefPtr<CSSPrimitiveValue> x, | 29 CSSShadowValue::CSSShadowValue(PassRefPtr<CSSPrimitiveValue> x, |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 { | 81 { |
83 return compareCSSValuePtr(color, other.color) | 82 return compareCSSValuePtr(color, other.color) |
84 && compareCSSValuePtr(x, other.x) | 83 && compareCSSValuePtr(x, other.x) |
85 && compareCSSValuePtr(y, other.y) | 84 && compareCSSValuePtr(y, other.y) |
86 && compareCSSValuePtr(blur, other.blur) | 85 && compareCSSValuePtr(blur, other.blur) |
87 && compareCSSValuePtr(spread, other.spread) | 86 && compareCSSValuePtr(spread, other.spread) |
88 && compareCSSValuePtr(style, other.style); | 87 && compareCSSValuePtr(style, other.style); |
89 } | 88 } |
90 | 89 |
91 } | 90 } |
OLD | NEW |