| Index: third_party/WebKit/Source/core/frame/PlatformEventController.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/PlatformEventController.cpp b/third_party/WebKit/Source/core/frame/PlatformEventController.cpp
|
| index acc073cf24685acae787fd043e803b7621cd54ad..83c78bda8d68a82186545f80ab1d13b59f7c8ef6 100644
|
| --- a/third_party/WebKit/Source/core/frame/PlatformEventController.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/PlatformEventController.cpp
|
| @@ -60,7 +60,7 @@ void PlatformEventController::pageVisibilityChanged()
|
| if (!m_hasEventListener)
|
| return;
|
|
|
| - if (page()->visibilityState() == PageVisibilityStateVisible)
|
| + if (page()->isPageVisible())
|
| startUpdating();
|
| else
|
| stopUpdating();
|
|
|