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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerContainer.cpp

Issue 831483003: [ServiceWorker] Use pageVisibilityState instead of visibilityState. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@page_visibility_state
Patch Set: Created 5 years, 11 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 | « no previous file | Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/ServiceWorkerContainer.cpp
diff --git a/Source/modules/serviceworkers/ServiceWorkerContainer.cpp b/Source/modules/serviceworkers/ServiceWorkerContainer.cpp
index 69de78ab319de14a36fcc472a8534124e09c0b43..df6f6a8b8d6d07d22a43ac1beffc5c4a0d534745 100644
--- a/Source/modules/serviceworkers/ServiceWorkerContainer.cpp
+++ b/Source/modules/serviceworkers/ServiceWorkerContainer.cpp
@@ -291,8 +291,6 @@ bool ServiceWorkerContainer::getClientInfo(WebServiceWorkerClientInfo* info)
if (!context || !context->isDocument())
return false;
Document* document = toDocument(context);
- // FIXME: remove info->visibilityState when Chromium is updated.
- info->visibilityState = document->visibilityState();
info->pageVisibilityState = static_cast<WebPageVisibilityState>(document->pageVisibilityState());
info->isFocused = document->hasFocus();
info->url = document->url();
« no previous file with comments | « no previous file | Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698