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

Unified Diff: third_party/WebKit/Source/core/editing/markers/DocumentMarker.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/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 b18b3fd88304206850783d3ee5de7a20483edd5f..42b481effd1950a615cef0eff6085134d21c2a0b 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp
@@ -66,7 +66,8 @@ class DocumentMarkerTextMatch final : public DocumentMarkerDetails {
public:
static DocumentMarkerTextMatch* create(bool);
- bool activeMatch() const { return m_match; }
+ bool IsActiveMatch() const { return m_match; }
+
bool isTextMatch() const override { return true; }
private:
@@ -182,10 +183,10 @@ const String& DocumentMarker::description() const {
return emptyString;
}
-bool DocumentMarker::activeMatch() const {
+bool DocumentMarker::IsActiveMatch() const {
if (DocumentMarkerTextMatch* details =
toDocumentMarkerTextMatch(m_details.get()))
- return details->activeMatch();
+ return details->IsActiveMatch();
return false;
}

Powered by Google App Engine
This is Rietveld 408576698