Index: Source/core/css/StylePropertySet.h |
diff --git a/Source/core/css/StylePropertySet.h b/Source/core/css/StylePropertySet.h |
index 4799550ee9461c5cd2d0ddaf864bab8704bf6851..e91d253167ba4b229974a5ceee35952dee757140 100644 |
--- a/Source/core/css/StylePropertySet.h |
+++ b/Source/core/css/StylePropertySet.h |
@@ -93,7 +93,7 @@ public: |
int findPropertyIndex(CSSPropertyID) const; |
bool hasProperty(CSSPropertyID property) const { return findPropertyIndex(property) != -1; } |
- PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValue(CSSPropertyID) const; |
+ PassRefPtr<CSSValue> getPropertyCSSValue(CSSPropertyID) const; |
String getPropertyValue(CSSPropertyID) const; |
bool propertyIsImportant(CSSPropertyID) const; |
@@ -154,7 +154,7 @@ public: |
unsigned propertyCount() const { return m_arraySize; } |
- const RawPtrWillBeMember<CSSValue>* valueArray() const; |
+ const RawPtr<CSSValue>* valueArray() const; |
const StylePropertyMetadata* metadataArray() const; |
int findPropertyIndex(CSSPropertyID) const; |
@@ -171,14 +171,14 @@ private: |
ImmutableStylePropertySet(const CSSProperty*, unsigned count, CSSParserMode); |
}; |
-inline const RawPtrWillBeMember<CSSValue>* ImmutableStylePropertySet::valueArray() const |
+inline const RawPtr<CSSValue>* ImmutableStylePropertySet::valueArray() const |
{ |
- return reinterpret_cast<const RawPtrWillBeMember<CSSValue>*>(const_cast<const void**>(&(this->m_storage))); |
+ return reinterpret_cast<const RawPtr<CSSValue>*>(const_cast<const void**>(&(this->m_storage))); |
} |
inline const StylePropertyMetadata* ImmutableStylePropertySet::metadataArray() const |
{ |
- return reinterpret_cast<const StylePropertyMetadata*>(&reinterpret_cast<const char*>(&(this->m_storage))[m_arraySize * sizeof(RawPtrWillBeMember<CSSValue>)]); |
+ return reinterpret_cast<const StylePropertyMetadata*>(&reinterpret_cast<const char*>(&(this->m_storage))[m_arraySize * sizeof(RawPtr<CSSValue>)]); |
} |
DEFINE_TYPE_CASTS(ImmutableStylePropertySet, StylePropertySet, set, !set->isMutable(), !set.isMutable()); |
@@ -192,12 +192,12 @@ public: |
unsigned propertyCount() const { return m_propertyVector.size(); } |
// Returns whether this style set was changed. |
- bool addParsedProperties(const WillBeHeapVector<CSSProperty, 256>&); |
+ bool addParsedProperties(const Vector<CSSProperty, 256>&); |
bool addRespectingCascade(const CSSProperty&); |
// These expand shorthand properties into multiple properties. |
bool setProperty(CSSPropertyID unresolvedProperty, const String& value, bool important = false, StyleSheetContents* contextStyleSheet = 0); |
- void setProperty(CSSPropertyID, PassRefPtrWillBeRawPtr<CSSValue>, bool important = false); |
+ void setProperty(CSSPropertyID, PassRefPtr<CSSValue>, bool important = false); |
// These do not. FIXME: This is too messy, we can do better. |
bool setProperty(CSSPropertyID, CSSValueID identifier, bool important = false); |
@@ -229,7 +229,7 @@ private: |
friend class StylePropertySet; |
- WillBeHeapVector<CSSProperty, 4> m_propertyVector; |
+ Vector<CSSProperty, 4> m_propertyVector; |
}; |
DEFINE_TYPE_CASTS(MutableStylePropertySet, StylePropertySet, set, set->isMutable(), set.isMutable()); |