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

Unified Diff: third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp

Issue 2000023002: Tidy AutoplayExperimentHelper. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/core/html/AutoplayExperimentHelper.h ('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/html/AutoplayExperimentHelper.cpp
diff --git a/third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp b/third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp
index 787879f7b67881d624cdf06bdba07baf04a7dfd4..c8a38bbda52534542031239ba317e9121580bf78 100644
--- a/third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp
+++ b/third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp
@@ -46,12 +46,6 @@ AutoplayExperimentHelper::~AutoplayExperimentHelper()
{
}
-void AutoplayExperimentHelper::dispose()
-{
- // Do any cleanup that requires the client.
- unregisterForPositionUpdatesIfNeeded();
-}
-
void AutoplayExperimentHelper::becameReadyToPlay()
{
// Assuming that we're eligible to override the user gesture requirement,
@@ -414,11 +408,6 @@ void AutoplayExperimentHelper::prepareToAutoplay(AutoplayMetrics metric)
// Do not actually start playback here.
}
-AutoplayExperimentHelper::Client& AutoplayExperimentHelper::client() const
-{
- return *m_client;
-}
-
AutoplayExperimentHelper::Mode AutoplayExperimentHelper::fromString(const String& mode)
{
Mode value = ExperimentOff;
« no previous file with comments | « third_party/WebKit/Source/core/html/AutoplayExperimentHelper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698