Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(806)

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2520953002: Revert of scheduler: Re-enable timer throttling for hidden frames (patchset #6 id:100001 of https:/… (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/test-helpers.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bfb6a6b1c35d061bca81b00efe0d62f30baae28b..1a18940f27ba61f5dcab695b4fbeae4ef4d7c6fb 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -4522,11 +4522,6 @@ void FrameView::updateRenderThrottlingStatus(bool hidden,
hasHandlers)
scrollingCoordinator->touchEventTargetRectsDidChange();
- if (m_frame->frameScheduler()) {
- m_frame->frameScheduler()->setFrameVisible(!m_hiddenForThrottling);
- m_frame->frameScheduler()->setCrossOrigin(m_frame->isCrossOriginSubframe());
- }
-
#if DCHECK_IS_ON()
// Make sure we never have an unthrottled frame inside a throttled one.
FrameView* parent = parentFrameView();
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/test-helpers.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698