Index: third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp b/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp |
index b46e742c2e33dbb443ce2d3856c22bb16242dc8d..494f8200a573342661b4405b08ac371c6046adf6 100644 |
--- a/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp |
@@ -1313,7 +1313,7 @@ void InlineTextBoxPainter::paintTextMatchMarkerForeground( |
TextRun run = m_inlineTextBox.constructTextRun(style); |
Color textColor = |
- LayoutTheme::theme().platformTextSearchColor(marker.activeMatch()); |
+ LayoutTheme::theme().platformTextSearchColor(marker.IsActiveMatch()); |
if (style.visitedDependentColor(CSSPropertyColor) == textColor) |
return; |
@@ -1355,7 +1355,7 @@ void InlineTextBoxPainter::paintTextMatchMarkerBackground( |
TextRun run = m_inlineTextBox.constructTextRun(style); |
Color color = LayoutTheme::theme().platformTextSearchHighlightColor( |
- marker.activeMatch()); |
+ marker.IsActiveMatch()); |
GraphicsContext& context = paintInfo.context; |
GraphicsContextStateSaver stateSaver(context); |