Index: content/child/service_worker/service_worker_dispatcher.cc |
diff --git a/content/child/service_worker/service_worker_dispatcher.cc b/content/child/service_worker/service_worker_dispatcher.cc |
index 251e162708266dfffa6bc9f0a7e49b1234b97dd3..d95e5b94d4612c216f1f5ab95c22e2a540710b0e 100644 |
--- a/content/child/service_worker/service_worker_dispatcher.cc |
+++ b/content/child/service_worker/service_worker_dispatcher.cc |
@@ -681,7 +681,7 @@ void ServiceWorkerDispatcher::OnGetClientInfo(int thread_id, |
if (found != script_clients_.end() && found->second->getClientInfo(&info)) { |
ServiceWorkerClientInfo result; |
result.client_id = info.clientID; |
- result.visibility_state = info.visibilityState.utf8(); |
+ result.page_visibility_state = info.pageVisibilityState; |
result.is_focused = info.isFocused; |
result.url = info.url; |
result.frame_type = static_cast<RequestContextFrameType>(info.frameType); |