| Index: Source/core/editing/EditingStyle.cpp
|
| diff --git a/Source/core/editing/EditingStyle.cpp b/Source/core/editing/EditingStyle.cpp
|
| index 2d13115a59e9be5dddf6cdfdaeb69720b58165f0..e9b1d7be9d7c741d511bcb21f66e7d1910cf7650 100644
|
| --- a/Source/core/editing/EditingStyle.cpp
|
| +++ b/Source/core/editing/EditingStyle.cpp
|
| @@ -1258,7 +1258,7 @@ PassRefPtr<EditingStyle> EditingStyle::styleAtSelectionStart(const VisibleSelect
|
| // Also, if the selection is a range, ignore the background color at the start of selection,
|
| // and find the background color of the common ancestor.
|
| if (shouldUseBackgroundColorInEffect && (selection.isRange() || hasTransparentBackgroundColor(style->m_mutableStyle.get()))) {
|
| - RefPtr<Range> range(selection.toNormalizedRange());
|
| + RefPtrWillBeRawPtr<Range> range(selection.toNormalizedRange());
|
| if (PassRefPtrWillBeRawPtr<CSSValue> value = backgroundColorInEffect(range->commonAncestorContainer(IGNORE_EXCEPTION)))
|
| style->setProperty(CSSPropertyBackgroundColor, value->cssText());
|
| }
|
|
|