|
|
Fix out of flow positioned descendant checks
With this patch, I've gotten rid of the flaky code for tracking m_hasOutOfFlowPositionedDescendant and replaced it with
1) A reliable m_hasFixedPositionedDescendant flag, and
2) a dynamic hasOutOfFlowPositionedDescendant function.
On my z620, the dynamic function took less than 0.3ms in total during a load of gmail. It appears to be of negligible cost, but I've added a trace event to track it, just in case.
NB - this patch depends on https://codereview.appspot.com/8166047/
R=hartmanng@chromium.org,shawnsingh@chromium.org
BUG=196610,196613
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+467 lines, -106 lines) |
Patch |
 |
M |
LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.html
|
View
|
|
2 chunks |
+11 lines, -6 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/compositing/overflow/do-not-opt-in-with-out-of-flow-descendant.html
|
View
|
|
1 chunk |
+129 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/compositing/overflow/do-not-opt-in-with-out-of-flow-descendant-expected.txt
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/compositing/overflow/invisible-descendants-should-not-affect-opt-in.html
|
View
|
|
1 chunk |
+116 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/compositing/overflow/invisible-descendants-should-not-affect-opt-in-expected.txt
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/WebCore/rendering/RenderLayer.h
|
View
|
|
5 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
 |
M |
Source/WebCore/rendering/RenderLayer.cpp
|
View
|
|
13 chunks |
+116 lines, -52 lines |
2 comments
|
Download
|
 |
M |
Source/WebCore/rendering/RenderLayerCompositor.h
|
View
|
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/WebCore/rendering/RenderLayerCompositor.cpp
|
View
|
|
1 chunk |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
Source/WebCore/rendering/RenderObject.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/WebCore/rendering/RenderObject.cpp
|
View
|
|
1 chunk |
+42 lines, -30 lines |
0 comments
|
Download
|
Total messages: 3
|