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..9372ccbaad52318f96d6660172732539e012025e 100644 |
| --- a/third_party/WebKit/Source/core/dom/Element.cpp |
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp |
| @@ -1120,6 +1120,9 @@ IntRect Element::visibleBoundsInVisualViewport() const { |
| void Element::clientQuads(Vector<FloatQuad>& quads) { |
| document().updateStyleAndLayoutIgnorePendingStylesheetsForNode(this); |
| + FrameView* view = document().view(); |
|
flackr
2017/01/18 21:11:10
nit: We tend to use the following style to scope c
smcgruer
2017/01/18 21:17:13
Done.
|
| + if (view) |
| + view->updateLifecycleToCompositingCleanPlusScrolling(); |
|
flackr
2017/01/18 21:11:10
Was this call necessary? Does updateAllLifecyclePh
smcgruer
2017/01/18 21:17:13
I was aiming for minimal lifecycle update. updateA
flackr
2017/01/18 21:38:05
Oops, you are right, this function seems to advanc
|
| LayoutObject* elementLayoutObject = layoutObject(); |
| if (!elementLayoutObject) |