Changeset 169314 in webkit
- Timestamp:
- May 24, 2014 8:12:27 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r169313 r169314 1 2014-05-24 Zsolt Borbely <zsborbely.u-szeged@partner.samsung.com> 2 3 Remove one of the CSSProperty constructor 4 https://bugs.webkit.org/show_bug.cgi?id=131094 5 6 Reviewed by Darin Adler. 7 8 Remove one of the CSSProperty constructor, because it is obsolete. 9 10 * css/CSSProperty.h: 11 (WebCore::CSSProperty::CSSProperty): Deleted. 12 * css/StyleProperties.h: 13 (WebCore::StyleProperties::PropertyReference::toCSSProperty): 14 1 15 2014-05-23 Simon Fraser <simon.fraser@apple.com> 2 16 -
trunk/Source/WebCore/css/CSSProperty.h
r165676 r169314 58 58 CSSProperty(CSSPropertyID propertyID, PassRefPtr<CSSValue> value, bool important = false, bool isSetFromShorthand = false, int indexInShorthandsVector = 0, bool implicit = false) 59 59 : m_metadata(propertyID, isSetFromShorthand, indexInShorthandsVector, important, implicit, isInheritedProperty(propertyID)) 60 , m_value(value)61 {62 }63 64 // FIXME: Remove this.65 CSSProperty(StylePropertyMetadata metadata, CSSValue* value)66 : m_metadata(metadata)67 60 , m_value(value) 68 61 { -
trunk/Source/WebCore/css/StyleProperties.h
r167967 r169314 76 76 77 77 // FIXME: Remove this. 78 CSSProperty toCSSProperty() const { return CSSProperty( propertyMetadata(), const_cast<CSSValue*>(propertyValue())); }78 CSSProperty toCSSProperty() const { return CSSProperty(id(), const_cast<CSSValue*>(propertyValue()), isImportant(), propertyMetadata().m_isSetFromShorthand, propertyMetadata().m_indexInShorthandsVector, isImplicit()); } 79 79 const StylePropertyMetadata& propertyMetadata() const; 80 80
Note: See TracChangeset
for help on using the changeset viewer.