| 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 8d4c481c736b66dee09a30ed0aea50f0701552ed..2f01e8f4bee12cc9fd38188769eb1e48a740c8ff 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -3734,6 +3734,9 @@ void FrameView::SetTracksPaintInvalidations(bool track_paint_invalidations) {
|
| if (track_paint_invalidations == IsTrackingPaintInvalidations())
|
| return;
|
|
|
| + // Ensure the document is up-to-date before tracking invalidations.
|
| + UpdateAllLifecyclePhases();
|
| +
|
| for (Frame* frame = &frame_->Tree().Top(); frame;
|
| frame = frame->Tree().TraverseNext()) {
|
| if (!frame->IsLocalFrame())
|
|
|