| Index: Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp
|
| diff --git a/Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp b/Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp
|
| index e4987e5d74a753773b40e01291657df462d38dc5..2b9c6b01fe33e2209278d4bccc015b87156ae718 100644
|
| --- a/Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp
|
| +++ b/Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp
|
| @@ -23,7 +23,6 @@ ServiceWorkerWindowClient* ServiceWorkerWindowClient::create(const WebServiceWor
|
|
|
| ServiceWorkerWindowClient::ServiceWorkerWindowClient(const WebServiceWorkerClientInfo& info)
|
| : ServiceWorkerClient(info)
|
| - , m_visibilityState(info.visibilityState)
|
| , m_pageVisibilityState(info.pageVisibilityState)
|
| , m_isFocused(info.isFocused)
|
| , m_frameType(info.frameType)
|
| @@ -36,9 +35,6 @@ ServiceWorkerWindowClient::~ServiceWorkerWindowClient()
|
|
|
| String ServiceWorkerWindowClient::visibilityState() const
|
| {
|
| - // FIXME: temporary until m_pageVisibilityState is used in Chromium.
|
| - if (m_pageVisibilityState == WebPageVisibilityStateLast)
|
| - return m_visibilityState;
|
| return pageVisibilityStateString(static_cast<PageVisibilityState>(m_pageVisibilityState));
|
| }
|
|
|
|
|