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

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

Issue 2557563003: Make calculation of document marker's rendered rect on demand (Closed)
Patch Set: Created 4 years 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 | « no previous file | 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 442f9942348bb4c1ba11aa1da3d62873bd8c4d3e..b190dd7059edc8611e4eecbf3b0f5769705f9031 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
@@ -250,7 +250,6 @@ void DocumentMarkerController::addMarker(Node* node,
Member<MarkerList>& list = markers->at(markerListIndex);
RenderedDocumentMarker* newRenderedMarker =
RenderedDocumentMarker::create(newMarker);
- updateMarkerRenderedRect(*node, *newRenderedMarker);
if (list->isEmpty() || list->back()->endOffset() < newMarker.startOffset()) {
list->append(newRenderedMarker);
} else {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698