| Index: third_party/WebKit/Source/core/frame/FrameView.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| index f881a6042a874b94b9ee6295408a6c25b0d0dcb8..9b6399be17e799b901338ecf4031887b3e336918 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -78,6 +78,7 @@
|
| #include "core/page/FrameTree.h"
|
| #include "core/page/Page.h"
|
| #include "core/page/scrolling/ScrollingCoordinator.h"
|
| +#include "core/page/scrolling/SnapCoordinator.h"
|
| #include "core/paint/FramePainter.h"
|
| #include "core/paint/PaintLayer.h"
|
| #include "core/paint/PaintPropertyTreeBuilder.h"
|
| @@ -2442,6 +2443,9 @@ void FrameView::updateLifecyclePhasesInternal(LifeCycleUpdateOption phases)
|
| {
|
| TRACE_EVENT1("devtools.timeline", "UpdateLayerTree", "data", InspectorUpdateLayerTreeEvent::data(m_frame.get()));
|
|
|
| + if (SnapCoordinator* snapCoordinator = frame().document()->snapCoordinator())
|
| + snapCoordinator->notifyLayoutUpdated();
|
| +
|
| // This was required for slimming paint v1 but is only temporarily
|
| // needed for slimming paint v2.
|
| view.compositor()->updateIfNeededRecursive();
|
|
|