Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(287)

Unified Diff: third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp

Issue 2789373003: Rename DocumentMarker::activeMatch() to IsActiveMatch() (Closed)
Patch Set: Remove dependency Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698