| Index: Source/core/css/CSSBorderImage.cpp
|
| diff --git a/Source/core/css/CSSBorderImage.cpp b/Source/core/css/CSSBorderImage.cpp
|
| index 4a569ed7b0048e593162167256bfbb3951ca9844..daecf653bdbb76f045e474efe126c1b247d29f2b 100644
|
| --- a/Source/core/css/CSSBorderImage.cpp
|
| +++ b/Source/core/css/CSSBorderImage.cpp
|
| @@ -22,29 +22,30 @@
|
|
|
| namespace blink {
|
|
|
| -PassRefPtrWillBeRawPtr<CSSValueList> createBorderImageValue(PassRefPtrWillBeRawPtr<CSSValue> image, PassRefPtrWillBeRawPtr<CSSValue> imageSlice,
|
| - PassRefPtrWillBeRawPtr<CSSValue> borderSlice, PassRefPtrWillBeRawPtr<CSSValue> outset, PassRefPtrWillBeRawPtr<CSSValue> repeat)
|
| +PassRefPtrWillBeRawPtr<CSSValueList> createBorderImageValue(NullableCSSValue image, NullableCSSValue imageSlice,
|
| + NullableCSSValue borderSlice, NullableCSSValue outset, NullableCSSValue repeat)
|
| {
|
| RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSpaceSeparated();
|
| if (image)
|
| - list->append(image);
|
| + list->append(*image);
|
|
|
| if (borderSlice || outset) {
|
| RefPtrWillBeRawPtr<CSSValueList> listSlash = CSSValueList::createSlashSeparated();
|
| if (imageSlice)
|
| - listSlash->append(imageSlice);
|
| + listSlash->append(*imageSlice);
|
|
|
| if (borderSlice)
|
| - listSlash->append(borderSlice);
|
| + listSlash->append(*borderSlice);
|
|
|
| if (outset)
|
| - listSlash->append(outset);
|
| + listSlash->append(*outset);
|
|
|
| list->append(listSlash);
|
| - } else if (imageSlice)
|
| - list->append(imageSlice);
|
| + } else if (imageSlice) {
|
| + list->append(*imageSlice);
|
| + }
|
| if (repeat)
|
| - list->append(repeat);
|
| + list->append(*repeat);
|
| return list.release();
|
| }
|
|
|
|
|