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

Issue 445263002: Remove cached bounds in RenderLayer. (Closed)

Created:
6 years, 4 months ago by skobes
Modified:
6 years, 4 months ago
Reviewers:
abarth-chromium
CC:
blink-layers+watch_chromium.org, blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Project:
blink
Visibility:
Public.

Description

Remove cached bounds in RenderLayer. This removes m_location, m_size, and m_offsetForInFlowPosition from RenderLayer, as well as the expensive layer tree walk that updates these fields during overflow scrolls. BUG=400589 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179768

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Remove unneeded const qualifiers. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -69 lines) Patch
M Source/core/rendering/RenderLayer.h View 1 6 chunks +4 lines, -24 lines 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 1 6 chunks +19 lines, -40 lines 0 comments Download
M Source/core/rendering/RenderLayerScrollableArea.cpp View 2 chunks +4 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderTreeAsText.cpp View 2 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
skobes
6 years, 4 months ago (2014-08-07 21:22:54 UTC) #1
abarth-chromium
LGTM There's some risk that not caching these values will make accumulating offsets towards ancestors ...
6 years, 4 months ago (2014-08-07 21:51:13 UTC) #2
skobes
I was also hoping to find some way of testing the perf impact of this ...
6 years, 4 months ago (2014-08-07 22:21:09 UTC) #3
skobes
The CQ bit was checked by skobes@chromium.org
6 years, 4 months ago (2014-08-07 22:21:16 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skobes@chromium.org/445263002/60001
6 years, 4 months ago (2014-08-07 22:36:43 UTC) #5
commit-bot: I haz the power
6 years, 4 months ago (2014-08-08 00:12:35 UTC) #6
Message was sent while issue was closed.
Change committed as 179768

Powered by Google App Engine
This is Rietveld 408576698