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

Unified Diff: Source/core/layout/LayoutObject.cpp

Issue 1018503004: Invalidate DisplayItemClient when selection state changes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: +1 missing expectation Created 5 years, 9 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 | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutObject.cpp
diff --git a/Source/core/layout/LayoutObject.cpp b/Source/core/layout/LayoutObject.cpp
index 3dd14adb668dff34bc8254334ce61394e7e440bf..67a22c15eaac93a0a0b6b367924687c7fbc3eab4 100644
--- a/Source/core/layout/LayoutObject.cpp
+++ b/Source/core/layout/LayoutObject.cpp
@@ -1263,6 +1263,9 @@ void LayoutObject::invalidateSelectionIfNeeded(const LayoutBoxModelObject& paint
LayoutRect newSelectionRect = selectionRectForPaintInvalidation(&paintInvalidationContainer);
setPreviousSelectionRectForPaintInvalidation(newSelectionRect);
+ if (RuntimeEnabledFeatures::slimmingPaintEnabled() && shouldInvalidateSelection())
+ invalidateDisplayItemClients(paintInvalidationContainer);
+
if (fullInvalidation)
return;
« no previous file with comments | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698