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

Issue 317133002: Skip traversing wholeSubtree subtrees with clean invalidation bits. (Closed)

Created:
6 years, 6 months ago by rune
Modified:
6 years, 6 months ago
Reviewers:
chrishtr, esprehn
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, dglazkov+blink, ed+blinkwatch_opera.com, rwlbuis, rune+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Skip traversing wholeSubtree subtrees with clean invalidation bits. During style invalidation we need to continue to traverse a subtree that is marked with SubtreeStyleChange to clear any remaining invalidation bits. But, when the childNeedsInvalidation bit is not set, there should be no bits left to clear in the subtree. Hence, we can skip traversing that subtree. R=esprehn@chromium.org,chrishtr@chromium.org BUG=381062 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175564

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed review issue. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -1 line) Patch
A LayoutTests/fast/css/invalidation/targeted-class-whole-subtree.html View 1 chunk +39 lines, -0 lines 0 comments Download
A LayoutTests/fast/css/invalidation/targeted-class-whole-subtree-expected.txt View 1 chunk +16 lines, -0 lines 0 comments Download
M Source/core/css/invalidation/StyleInvalidator.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
rune
6 years, 6 months ago (2014-06-05 09:03:45 UTC) #1
esprehn
https://codereview.chromium.org/317133002/diff/1/Source/core/css/invalidation/StyleInvalidator.cpp File Source/core/css/invalidation/StyleInvalidator.cpp (right): https://codereview.chromium.org/317133002/diff/1/Source/core/css/invalidation/StyleInvalidator.cpp#newcode143 Source/core/css/invalidation/StyleInvalidator.cpp:143: if ((!m_recursionData.wholeSubtreeInvalid() && m_recursionData.hasInvalidationSets()) || element.childNeedsStyleInvalidation()) I think we ...
6 years, 6 months ago (2014-06-05 09:40:24 UTC) #2
rune
https://codereview.chromium.org/317133002/diff/1/Source/core/css/invalidation/StyleInvalidator.cpp File Source/core/css/invalidation/StyleInvalidator.cpp (right): https://codereview.chromium.org/317133002/diff/1/Source/core/css/invalidation/StyleInvalidator.cpp#newcode143 Source/core/css/invalidation/StyleInvalidator.cpp:143: if ((!m_recursionData.wholeSubtreeInvalid() && m_recursionData.hasInvalidationSets()) || element.childNeedsStyleInvalidation()) On 2014/06/05 09:40:24, ...
6 years, 6 months ago (2014-06-05 09:52:26 UTC) #3
esprehn
lgtm
6 years, 6 months ago (2014-06-05 09:53:26 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rune@opera.com/317133002/20001
6 years, 6 months ago (2014-06-05 09:54:46 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-05 11:03:58 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-05 11:04:47 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/14298)
6 years, 6 months ago (2014-06-05 11:04:48 UTC) #8
rune
The CQ bit was checked by rune@opera.com
6 years, 6 months ago (2014-06-05 11:34:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rune@opera.com/317133002/20001
6 years, 6 months ago (2014-06-05 11:35:06 UTC) #10
commit-bot: I haz the power
6 years, 6 months ago (2014-06-05 12:52:19 UTC) #11
Message was sent while issue was closed.
Change committed as 175564

Powered by Google App Engine
This is Rietveld 408576698