| Index: third_party/WebKit/Source/core/layout/LayoutTheme.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
|
| index 149cb93de6d81c71d3af06833ce034636d9e96f8..0206c5948893189a4ab6a3be74652606d2e0e9cf 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
|
| @@ -790,13 +790,15 @@ Color LayoutTheme::systemColor(CSSValueID cssValueId) const {
|
| return Color();
|
| }
|
|
|
| -Color LayoutTheme::platformTextSearchHighlightColor(bool activeMatch) const {
|
| - if (activeMatch)
|
| +Color LayoutTheme::platformTextSearchHighlightColor(
|
| + DocumentMarker::MatchStatus activeMatch) const {
|
| + if (activeMatch == DocumentMarker::MatchStatus::Active)
|
| return Color(255, 150, 50); // Orange.
|
| return Color(255, 255, 0); // Yellow.
|
| }
|
|
|
| -Color LayoutTheme::platformTextSearchColor(bool activeMatch) const {
|
| +Color LayoutTheme::platformTextSearchColor(
|
| + DocumentMarker::MatchStatus activeMatch) const {
|
| return Color::black;
|
| }
|
|
|
|
|