DescriptionneedsPaintInvalidation() should not return true for selection.
In [1] we introduced a paint invalidation constant for repainting
selection. needsPaintInvalidation() started to also return true when
only the selection needed paint invalidation. Callers of that method
assumes that true will cause at least a full element repaint which made
us skip setting the diff to invalidate the object and only invalidate
the selection in some cases. Instead, only return true for
PaintInvalidationObject and PaintInvalidationSubtree.
[1] https://crrev.com/eff357ef
R=mstensho@opera.com
BUG=697337
Review-Url: https://codereview.chromium.org/2727843004
Cr-Commit-Position: refs/heads/master@{#454564}
Committed: https://chromium.googlesource.com/chromium/src/+/c63e571885b21aa510dc323ecb1c5bc18f1ed29b
Patch Set 1 #
Total comments: 4
Patch Set 2 : Renaming. #Dependent Patchsets: Messages
Total messages: 14 (8 generated)
|