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