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

Issue 2727843004: needsPaintInvalidation() should not return true for selection. (Closed)

Created:
3 years, 9 months ago by rune
Modified:
3 years, 9 months ago
CC:
chromium-reviews, blink-reviews, blink-reviews-style_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

needsPaintInvalidation() 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. #

Messages

Total messages: 14 (8 generated)
rune
ptal
3 years, 9 months ago (2017-03-02 16:58:25 UTC) #5
mstensho (USE GERRIT)
"[1]" in the description is undefined. https://codereview.chromium.org/2727843004/diff/1/third_party/WebKit/Source/core/style/StyleDifference.h File third_party/WebKit/Source/core/style/StyleDifference.h (left): https://codereview.chromium.org/2727843004/diff/1/third_party/WebKit/Source/core/style/StyleDifference.h#oldcode54 third_party/WebKit/Source/core/style/StyleDifference.h:54: bool needsPaintInvalidation() const ...
3 years, 9 months ago (2017-03-02 19:35:26 UTC) #6
rune
https://codereview.chromium.org/2727843004/diff/1/third_party/WebKit/Source/core/style/StyleDifference.h File third_party/WebKit/Source/core/style/StyleDifference.h (left): https://codereview.chromium.org/2727843004/diff/1/third_party/WebKit/Source/core/style/StyleDifference.h#oldcode54 third_party/WebKit/Source/core/style/StyleDifference.h:54: bool needsPaintInvalidation() const { On 2017/03/02 19:35:26, mstensho wrote: ...
3 years, 9 months ago (2017-03-03 09:13:09 UTC) #7
mstensho (USE GERRIT)
lgtm
3 years, 9 months ago (2017-03-03 09:20:39 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2727843004/20001
3 years, 9 months ago (2017-03-03 09:21:41 UTC) #11
commit-bot: I haz the power
3 years, 9 months ago (2017-03-03 11:12:55 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/c63e571885b21aa510dc323ecb1c...

Powered by Google App Engine
This is Rietveld 408576698