| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| index 408cf6095e6526c6088898f9980f11c49516ef72..434d22e4793cce2c30461e81c68800452dcbc786 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -1403,7 +1403,7 @@ Color LayoutObject::SelectionBackgroundColor() const {
|
| if (RefPtr<ComputedStyle> pseudo_style = GetUncachedSelectionStyle())
|
| return ResolveColor(*pseudo_style, CSSPropertyBackgroundColor)
|
| .BlendWithWhite();
|
| - return GetFrame()->Selection().IsFocusedAndActive()
|
| + return GetFrame()->Selection().FrameIsFocusedAndActive()
|
| ? LayoutTheme::GetTheme().ActiveSelectionBackgroundColor()
|
| : LayoutTheme::GetTheme().InactiveSelectionBackgroundColor();
|
| }
|
| @@ -1420,7 +1420,7 @@ Color LayoutObject::SelectionColor(
|
| return ResolveColor(*pseudo_style, color_property);
|
| if (!LayoutTheme::GetTheme().SupportsSelectionForegroundColors())
|
| return ResolveColor(color_property);
|
| - return GetFrame()->Selection().IsFocusedAndActive()
|
| + return GetFrame()->Selection().FrameIsFocusedAndActive()
|
| ? LayoutTheme::GetTheme().ActiveSelectionForegroundColor()
|
| : LayoutTheme::GetTheme().InactiveSelectionForegroundColor();
|
| }
|
|
|