| 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, 2007, 2008, 2012 Apple Inc. All rights reserv
ed. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2012 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 1309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1320 case CSS_PAIR: | 1320 case CSS_PAIR: |
| 1321 return m_value.pair && other.m_value.pair && m_value.pair->equals(*other
.m_value.pair); | 1321 return m_value.pair && other.m_value.pair && m_value.pair->equals(*other
.m_value.pair); |
| 1322 case CSS_CALC: | 1322 case CSS_CALC: |
| 1323 return m_value.calc && other.m_value.calc && m_value.calc->equals(*other
.m_value.calc); | 1323 return m_value.calc && other.m_value.calc && m_value.calc->equals(*other
.m_value.calc); |
| 1324 case CSS_SHAPE: | 1324 case CSS_SHAPE: |
| 1325 return m_value.shape && other.m_value.shape && m_value.shape->equals(*ot
her.m_value.shape); | 1325 return m_value.shape && other.m_value.shape && m_value.shape->equals(*ot
her.m_value.shape); |
| 1326 } | 1326 } |
| 1327 return false; | 1327 return false; |
| 1328 } | 1328 } |
| 1329 | 1329 |
| 1330 void CSSPrimitiveValue::traceAfterDispatch(Visitor* visitor) | |
| 1331 { | |
| 1332 #if ENABLE(OILPAN) | |
| 1333 switch (m_primitiveUnitType) { | |
| 1334 case CSS_RECT: | |
| 1335 visitor->trace(m_value.rect); | |
| 1336 break; | |
| 1337 case CSS_QUAD: | |
| 1338 visitor->trace(m_value.quad); | |
| 1339 break; | |
| 1340 case CSS_PAIR: | |
| 1341 visitor->trace(m_value.pair); | |
| 1342 break; | |
| 1343 case CSS_CALC: | |
| 1344 visitor->trace(m_value.calc); | |
| 1345 break; | |
| 1346 case CSS_SHAPE: | |
| 1347 visitor->trace(m_value.shape); | |
| 1348 break; | |
| 1349 default: | |
| 1350 break; | |
| 1351 } | |
| 1352 #endif | |
| 1353 CSSValue::traceAfterDispatch(visitor); | |
| 1354 } | |
| 1355 | |
| 1356 } // namespace blink | 1330 } // namespace blink |
| OLD | NEW |