| 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 5c51f1e212998dd760c4f4724ec035449ebceab5..f6d8df4957542e60f134642ad4869cb670e9d01f 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -4239,9 +4239,10 @@ void FrameView::updateViewportIntersectionsForSubtree(DocumentLifecycle::Lifecyc
|
|
|
| void FrameView::updateThrottlingStatus()
|
| {
|
| - // Only offscreen frames can be throttled.
|
| + // Only offscreen frames can be throttled. Note that we disallow throttling
|
| + // of 0x0 frames because some sites use them to drive UI logic.
|
| DCHECK(m_viewportIntersectionValid);
|
| - m_hiddenForThrottling = m_viewportIntersection.isEmpty();
|
| + m_hiddenForThrottling = m_viewportIntersection.isEmpty() && !frameRect().isEmpty();
|
|
|
| // We only throttle the rendering pipeline in cross-origin frames. This is
|
| // to avoid a situation where an ancestor frame directly depends on the
|
|
|