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

Unified Diff: third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp

Issue 2891173002: [DMC #9] Rename DocumentMarkerController::InvalidateRects*() methods (Closed)
Patch Set: 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
« no previous file with comments | « third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
index 3992a6d2b50b1acf5d7e0f3f7c1827ba94ef72cf..fe989fd0cc3ec595d963c34fea7d0ca41e18c1b7 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
@@ -440,7 +440,7 @@ void DocumentMarkerController::UpdateMarkerRenderedRectIfNeeded(
UpdateMarkerRenderedRect(node, marker);
}
-void DocumentMarkerController::InvalidateRectsForMarkersInNode(
+void DocumentMarkerController::InvalidateRectsForTextMatchMarkersInNode(
const Node& node) {
MarkerLists* markers = markers_.at(&node);
@@ -457,10 +457,10 @@ void DocumentMarkerController::InvalidateRectsForMarkersInNode(
InvalidatePaintForTickmarks(node);
}
-void DocumentMarkerController::InvalidateRectsForAllMarkers() {
+void DocumentMarkerController::InvalidateRectsForAllTextMatchMarkers() {
for (auto& node_markers : markers_) {
const Node& node = *node_markers.key;
- InvalidateRectsForMarkersInNode(node);
+ InvalidateRectsForTextMatchMarkersInNode(node);
}
}
@@ -722,7 +722,7 @@ void DocumentMarkerController::DidUpdateCharacterData(CharacterData* node,
return;
if (!node->GetLayoutObject())
return;
- InvalidateRectsForMarkersInNode(*node);
+ InvalidateRectsForTextMatchMarkersInNode(*node);
// repaint the affected node
node->GetLayoutObject()->SetShouldDoFullPaintInvalidation();
}
« no previous file with comments | « third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698