OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. | 3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. |
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, |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 else | 267 else |
268 fValue = 0; | 268 fValue = 0; |
269 this->unit = unit; | 269 this->unit = unit; |
270 } | 270 } |
271 | 271 |
272 inline void CSSParserValue::setFromFunction(CSSParserFunction* function) | 272 inline void CSSParserValue::setFromFunction(CSSParserFunction* function) |
273 { | 273 { |
274 id = CSSValueInvalid; | 274 id = CSSValueInvalid; |
275 this->function = function; | 275 this->function = function; |
276 unit = Function; | 276 unit = Function; |
| 277 isInt = false; |
277 } | 278 } |
278 | 279 |
279 inline void CSSParserValue::setFromValueList(PassOwnPtr<CSSParserValueList> valu
eList) | 280 inline void CSSParserValue::setFromValueList(PassOwnPtr<CSSParserValueList> valu
eList) |
280 { | 281 { |
281 id = CSSValueInvalid; | 282 id = CSSValueInvalid; |
282 this->valueList = valueList.leakPtr(); | 283 this->valueList = valueList.leakPtr(); |
283 unit = ValueList; | 284 unit = ValueList; |
| 285 isInt = false; |
284 } | 286 } |
285 | 287 |
286 } | 288 } |
287 | 289 |
288 #endif | 290 #endif |
OLD | NEW |