| 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 88bfd295adafbfa2a186dd6f3f0695d5961b2976..45b694c42266bc05c49558fa66d95f778c3d964f 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -309,6 +309,8 @@ void FrameView::setupRenderThrottling() {
|
| m_visibilityObserver = new ElementVisibilityObserver(
|
| targetElement, WTF::bind(
|
| [](FrameView* frameView, bool isVisible) {
|
| + if (!frameView)
|
| + return;
|
| frameView->updateRenderThrottlingStatus(
|
| !isVisible, frameView->m_subtreeThrottled);
|
| frameView->maybeRecordLoadReason();
|
|
|