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

Unified Diff: third_party/WebKit/Source/core/dom/IntersectionObserver.cpp

Issue 2272773002: Use intersection observer to control frame throttling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 3 months 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
Index: third_party/WebKit/Source/core/dom/IntersectionObserver.cpp
diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserver.cpp b/third_party/WebKit/Source/core/dom/IntersectionObserver.cpp
index 1970c981dc1e8de5d0fe50185daa80c0d5569d65..60f200ba0803cb5936f2dccefab90b2997e0e47f 100644
--- a/third_party/WebKit/Source/core/dom/IntersectionObserver.cpp
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserver.cpp
@@ -184,6 +184,7 @@ IntersectionObserver::IntersectionObserver(IntersectionObserverCallback& callbac
, m_rightMargin(Fixed)
, m_bottomMargin(Fixed)
, m_leftMargin(Fixed)
+ , m_lowLatency(false)
{
switch (rootMargin.size()) {
case 0:

Powered by Google App Engine
This is Rietveld 408576698