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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 2510353004: Deprecating AutoplayExperimentHelper (Closed)
Patch Set: cleaned up the layout code no longer used 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
Index: third_party/WebKit/Source/core/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index 7a98145fd3d3cbda7665c517c36f27556b823832..0f3e33c53cdc0a5f066f56d4752f36df03056d65 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -3060,11 +3060,6 @@ void Internals::setMediaElementNetworkState(HTMLMediaElement* mediaElement,
static_cast<WebMediaPlayer::NetworkState>(state));
}
-// TODO(liberato): remove once autoplay gesture override experiment concludes.
-void Internals::triggerAutoplayViewportCheck(HTMLMediaElement* element) {
- element->triggerAutoplayViewportCheckForTesting();
-}
-
String Internals::getScrollAnimationState(Node* node) const {
if (ScrollableArea* scrollableArea = scrollableAreaForNode(node))
return scrollableArea->scrollAnimator().runStateAsText();

Powered by Google App Engine
This is Rietveld 408576698