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

Unified Diff: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp

Issue 2118903002: scheduler: Move the Blink scheduler into Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another GYP fix Created 4 years, 5 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/web/WebRuntimeFeatures.cpp
diff --git a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
index 0e707c4bd218be276979b01026dbd2f610ff0fe2..974a014191be5c8e078f78826c202085ab5f27cc 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -340,4 +340,9 @@ void WebRuntimeFeatures::enableAutoplayMutedVideos(bool enable)
RuntimeEnabledFeatures::setAutoplayMutedVideosEnabled(enable);
}
+void WebRuntimeFeatures::enableTimerThrottlingForBackgroundTabs(bool enable)
+{
+ RuntimeEnabledFeatures::setTimerThrottlingForBackgroundTabsEnabled(enable);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698