| 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, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. |
| 4 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. | 4 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. |
| 5 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 5 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 ASSERT(CSSPropertyMetadata::isEnabledProperty(propertyID)); | 512 ASSERT(CSSPropertyMetadata::isEnabledProperty(propertyID)); |
| 513 return n; | 513 return n; |
| 514 } | 514 } |
| 515 } | 515 } |
| 516 | 516 |
| 517 return -1; | 517 return -1; |
| 518 } | 518 } |
| 519 | 519 |
| 520 DEFINE_TRACE_AFTER_DISPATCH(MutableStylePropertySet) | 520 DEFINE_TRACE_AFTER_DISPATCH(MutableStylePropertySet) |
| 521 { | 521 { |
| 522 #if ENABLE(OILPAN) |
| 522 visitor->trace(m_cssomWrapper); | 523 visitor->trace(m_cssomWrapper); |
| 523 visitor->trace(m_propertyVector); | 524 visitor->trace(m_propertyVector); |
| 525 #endif |
| 524 StylePropertySet::traceAfterDispatch(visitor); | 526 StylePropertySet::traceAfterDispatch(visitor); |
| 525 } | 527 } |
| 526 | 528 |
| 527 unsigned StylePropertySet::averageSizeInBytes() | 529 unsigned StylePropertySet::averageSizeInBytes() |
| 528 { | 530 { |
| 529 // Please update this if the storage scheme changes so that this longer refl
ects the actual size. | 531 // Please update this if the storage scheme changes so that this longer refl
ects the actual size. |
| 530 return sizeForImmutableStylePropertySetWithPropertyCount(4); | 532 return sizeForImmutableStylePropertySetWithPropertyCount(4); |
| 531 } | 533 } |
| 532 | 534 |
| 533 // See the function above if you need to update this. | 535 // See the function above if you need to update this. |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 565 result.appendLiteral(": "); | 567 result.appendLiteral(": "); |
| 566 result.append(propertyValue()->cssText()); | 568 result.append(propertyValue()->cssText()); |
| 567 if (isImportant()) | 569 if (isImportant()) |
| 568 result.appendLiteral(" !important"); | 570 result.appendLiteral(" !important"); |
| 569 result.append(';'); | 571 result.append(';'); |
| 570 return result.toString(); | 572 return result.toString(); |
| 571 } | 573 } |
| 572 | 574 |
| 573 | 575 |
| 574 } // namespace blink | 576 } // namespace blink |
| OLD | NEW |