| Index: third_party/WebKit/Source/core/html/AutoplayUmaHelper.h
|
| diff --git a/third_party/WebKit/Source/core/html/AutoplayUmaHelper.h b/third_party/WebKit/Source/core/html/AutoplayUmaHelper.h
|
| index 7dda64bb56d55bc2b799c5290a8a9b9f2c420e88..a331dade004db7e4f514fdc484c28f1c46492381 100644
|
| --- a/third_party/WebKit/Source/core/html/AutoplayUmaHelper.h
|
| +++ b/third_party/WebKit/Source/core/html/AutoplayUmaHelper.h
|
| @@ -67,9 +67,9 @@ class AutoplayUmaHelper final : public EventListener {
|
|
|
| void handlePlayingEvent();
|
| void handlePauseEvent();
|
| - void handleUnloadEvent();
|
| + void handlePageVisibilityChangeEvent();
|
|
|
| - void maybeUnregisterUnloadListener();
|
| + void maybeUnregisterPageVisibilityChangeListener();
|
|
|
| void maybeStartRecordingMutedVideoPlayMethodBecomeVisible();
|
| void maybeStopRecordingMutedVideoPlayMethodBecomeVisible(bool isVisible);
|
| @@ -80,7 +80,7 @@ class AutoplayUmaHelper final : public EventListener {
|
| void onVisibilityChangedForMutedVideoOffscreenDuration(bool isVisibile);
|
| void onVisibilityChangedForMutedVideoPlayMethodBecomeVisible(bool isVisible);
|
|
|
| - bool shouldListenToUnloadEvent() const;
|
| + bool shouldListenToPageVisibilityChangeEvent() const;
|
|
|
| // The autoplay source. Use AutoplaySource::NumberOfSources for invalid
|
| // source.
|
|
|