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

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

Issue 2909553002: [DMC #20] Remove DocumentMarker::IsActiveMatch() and SetIsActiveMatch() methods (Closed)
Patch Set: Rebase Created 3 years, 7 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/SVGInlineTextBoxPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp b/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp
index 3d1c30e2efe66ca9bc35cea889fd31168f402f71..1af0b67abfd0f7f66a26b7f9cf5549ffb896c38f 100644
--- a/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp
@@ -4,8 +4,10 @@
#include "core/paint/SVGInlineTextBoxPainter.h"
+#include <memory>
#include "core/editing/Editor.h"
#include "core/editing/markers/DocumentMarkerController.h"
+#include "core/editing/markers/TextMatchMarker.h"
#include "core/frame/LocalFrame.h"
#include "core/layout/LayoutTheme.h"
#include "core/layout/api/LineLayoutAPIShim.h"
@@ -22,7 +24,6 @@
#include "core/style/AppliedTextDecoration.h"
#include "core/style/ShadowList.h"
#include "platform/graphics/GraphicsContextStateSaver.h"
-#include <memory>
namespace blink {
@@ -592,7 +593,7 @@ SVGInlineTextBoxPainter::CollectFragmentsInRange(int start_position,
void SVGInlineTextBoxPainter::PaintTextMatchMarkerForeground(
const PaintInfo& paint_info,
const LayoutPoint& point,
- const DocumentMarker& marker,
+ const TextMatchMarker& marker,
const ComputedStyle& style,
const Font& font) {
const Vector<SVGTextFragmentWithRange> text_match_info_list =
@@ -634,7 +635,7 @@ void SVGInlineTextBoxPainter::PaintTextMatchMarkerForeground(
void SVGInlineTextBoxPainter::PaintTextMatchMarkerBackground(
const PaintInfo& paint_info,
const LayoutPoint& point,
- const DocumentMarker& marker,
+ const TextMatchMarker& marker,
const ComputedStyle& style,
const Font& font) {
const Vector<SVGTextFragmentWithRange> text_match_info_list =
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.h ('k') | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698