| Index: Source/core/html/HTMLTableElement.cpp
|
| diff --git a/Source/core/html/HTMLTableElement.cpp b/Source/core/html/HTMLTableElement.cpp
|
| index 843895448f98339f6493e816aefa76147177bb95..bef722c0c20b58144a758de070991eaee3cb7a4f 100644
|
| --- a/Source/core/html/HTMLTableElement.cpp
|
| +++ b/Source/core/html/HTMLTableElement.cpp
|
| @@ -410,7 +410,7 @@ void HTMLTableElement::parseAttribute(const QualifiedName& name, const AtomicStr
|
| }
|
| }
|
|
|
| -static PassRefPtr<StylePropertySet> createBorderStyle(CSSValueID value)
|
| +static PassRefPtrWillBeRawPtr<StylePropertySet> createBorderStyle(CSSValueID value)
|
| {
|
| RefPtrWillBeRawPtr<MutableStylePropertySet> style = MutableStylePropertySet::create();
|
| style->setProperty(CSSPropertyBorderTopStyle, value);
|
| @@ -429,17 +429,17 @@ const StylePropertySet* HTMLTableElement::additionalPresentationAttributeStyle()
|
| // Setting the border to 'hidden' allows it to win over any border
|
| // set on the table's cells during border-conflict resolution.
|
| if (m_rulesAttr != UnsetRules) {
|
| - DEFINE_STATIC_REF(StylePropertySet, solidBorderStyle, (createBorderStyle(CSSValueHidden)));
|
| + DEFINE_STATIC_REF_WILL_BE_PERSISTENT(StylePropertySet, solidBorderStyle, (createBorderStyle(CSSValueHidden)));
|
| return solidBorderStyle;
|
| }
|
| return 0;
|
| }
|
|
|
| if (m_borderColorAttr) {
|
| - DEFINE_STATIC_REF(StylePropertySet, solidBorderStyle, (createBorderStyle(CSSValueSolid)));
|
| + DEFINE_STATIC_REF_WILL_BE_PERSISTENT(StylePropertySet, solidBorderStyle, (createBorderStyle(CSSValueSolid)));
|
| return solidBorderStyle;
|
| }
|
| - DEFINE_STATIC_REF(StylePropertySet, outsetBorderStyle, (createBorderStyle(CSSValueOutset)));
|
| + DEFINE_STATIC_REF_WILL_BE_PERSISTENT(StylePropertySet, outsetBorderStyle, (createBorderStyle(CSSValueOutset)));
|
| return outsetBorderStyle;
|
| }
|
|
|
| @@ -536,10 +536,10 @@ const StylePropertySet* HTMLTableElement::additionalGroupStyle(bool rows)
|
| return 0;
|
|
|
| if (rows) {
|
| - DEFINE_STATIC_REF(StylePropertySet, rowBorderStyle, (createGroupBorderStyle(true)));
|
| + DEFINE_STATIC_REF_WILL_BE_PERSISTENT(StylePropertySet, rowBorderStyle, (createGroupBorderStyle(true)));
|
| return rowBorderStyle;
|
| }
|
| - DEFINE_STATIC_REF(StylePropertySet, columnBorderStyle, (createGroupBorderStyle(false)));
|
| + DEFINE_STATIC_REF_WILL_BE_PERSISTENT(StylePropertySet, columnBorderStyle, (createGroupBorderStyle(false)));
|
| return columnBorderStyle;
|
| }
|
|
|
|
|