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

Unified Diff: third_party/WebKit/Source/core/editing/markers/DocumentMarker.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/editing/markers/DocumentMarker.cpp
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp
index 44ab1f978548ee31acf53bc8dd2e05c648871119..11c02f0bd9e56f9466e154446da3f831cf707a4f 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp
@@ -182,11 +182,6 @@ void DocumentMarker::ShiftOffsets(int delta) {
start_offset_ += delta;
end_offset_ += delta;
}
-void DocumentMarker::SetIsActiveMatch(bool active) {
- if (GetType() != DocumentMarker::kTextMatch)
- return;
- ToTextMatchMarker(this)->SetIsActiveMatch(active);
-}
const String& DocumentMarker::Description() const {
if (DocumentMarkerDescription* details =
@@ -195,12 +190,6 @@ const String& DocumentMarker::Description() const {
return g_empty_string;
}
-bool DocumentMarker::IsActiveMatch() const {
- if (GetType() != DocumentMarker::kTextMatch)
- return false;
- return ToTextMatchMarker(this)->IsActiveMatch();
-}
-
Color DocumentMarker::UnderlineColor() const {
if (TextCompositionMarkerDetails* details =
ToTextCompositionMarkerDetails(details_.Get()))

Powered by Google App Engine
This is Rietveld 408576698