| Index: Source/core/dom/DocumentMarkerController.cpp
|
| diff --git a/Source/core/dom/DocumentMarkerController.cpp b/Source/core/dom/DocumentMarkerController.cpp
|
| index d7ebca2956ac1213eb96d322f10245bda214e52a..354d82a857fc1499f6d60a36896db5202f0f5dd0 100644
|
| --- a/Source/core/dom/DocumentMarkerController.cpp
|
| +++ b/Source/core/dom/DocumentMarkerController.cpp
|
| @@ -235,7 +235,7 @@
|
|
|
| // repaint the affected node
|
| if (node->renderer())
|
| - node->renderer()->setShouldDoFullPaintInvalidation(true);
|
| + node->renderer()->doNotUseInvalidatePaintForWholeRendererSynchronously();
|
| }
|
|
|
| void DocumentMarkerController::mergeOverlapping(MarkerList* list, DocumentMarker& toInsert)
|
| @@ -296,7 +296,7 @@
|
|
|
| // repaint the affected node
|
| if (docDirty && dstNode->renderer())
|
| - dstNode->renderer()->setShouldDoFullPaintInvalidation(true);
|
| + dstNode->renderer()->doNotUseInvalidatePaintForWholeRendererSynchronously();
|
| }
|
|
|
| void DocumentMarkerController::removeMarkers(Node* node, unsigned startOffset, int length, DocumentMarker::MarkerTypes markerTypes, RemovePartiallyOverlappingMarkerOrNot shouldRemovePartiallyOverlappingMarker)
|
| @@ -377,7 +377,7 @@
|
|
|
| // repaint the affected node
|
| if (docDirty && node->renderer())
|
| - node->renderer()->setShouldDoFullPaintInvalidation(true);
|
| + node->renderer()->doNotUseInvalidatePaintForWholeRendererSynchronously();
|
| }
|
|
|
| DocumentMarker* DocumentMarkerController::markerContainingPoint(const LayoutPoint& point, DocumentMarker::MarkerType markerType)
|
| @@ -586,7 +586,7 @@
|
|
|
| if (needsRepainting) {
|
| if (RenderObject* renderer = iterator->key->renderer())
|
| - renderer->setShouldDoFullPaintInvalidation(true);
|
| + renderer->doNotUseInvalidatePaintForWholeRendererSynchronously();
|
| }
|
|
|
| if (nodeCanBeRemoved) {
|
| @@ -616,7 +616,7 @@
|
|
|
| // cause the node to be redrawn
|
| if (RenderObject* renderer = node->renderer()) {
|
| - renderer->setShouldDoFullPaintInvalidation(true);
|
| + renderer->doNotUseInvalidatePaintForWholeRendererSynchronously();
|
| break;
|
| }
|
| }
|
| @@ -670,7 +670,7 @@
|
|
|
| // repaint the affected node
|
| if (docDirty && node->renderer())
|
| - node->renderer()->setShouldDoFullPaintInvalidation(true);
|
| + node->renderer()->doNotUseInvalidatePaintForWholeRendererSynchronously();
|
| }
|
|
|
| void DocumentMarkerController::setMarkersActive(Range* range, bool active)
|
| @@ -714,7 +714,7 @@
|
|
|
| // repaint the affected node
|
| if (docDirty && node->renderer())
|
| - node->renderer()->setShouldDoFullPaintInvalidation(true);
|
| + node->renderer()->doNotUseInvalidatePaintForWholeRendererSynchronously();
|
| }
|
|
|
| bool DocumentMarkerController::hasMarkers(Range* range, DocumentMarker::MarkerTypes markerTypes)
|
|
|