Chromium Code Reviews| Index: third_party/WebKit/Source/core/dom/Element.cpp |
| diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp |
| index d5ea539ee3527b4a3f90bb8e3b32abb76b499bdf..a093e84882d2c80981feef70e1220ae5bc237789 100644 |
| --- a/third_party/WebKit/Source/core/dom/Element.cpp |
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp |
| @@ -1125,6 +1125,13 @@ void Element::clientQuads(Vector<FloatQuad>& quads) { |
| if (!elementLayoutObject) |
| return; |
| + FrameView* view = document().view(); |
| + if (UNLIKELY(view && elementLayoutObject->enclosingBoxModelObject() && |
| + elementLayoutObject->enclosingBoxModelObject() |
| + ->isInStickySubtree())) { |
| + view->updateLifecycleToCompositingCleanPlusScrolling(); |
|
chrishtr
2017/01/19 21:29:19
Hmm. I think this will be incorrect if layout/styl
smcgruer
2017/01/20 01:40:41
I think those are all fair points. I'm happy to re
flackr
2017/01/20 02:19:41
We could certainly measure how often we actually d
smcgruer
2017/01/20 02:32:29
Ack, uploaded new PS that takes the code back to P
|
| + } |
| + |
| if (isSVGElement() && !elementLayoutObject->isSVGRoot()) { |
| // Get the bounding rectangle from the SVG model. |
| if (toSVGElement(this)->isSVGGraphicsElement()) |