Geoclue2 based backend should provide the right desktop ID
authoraperez@igalia.com <aperez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Aug 2017 08:45:07 +0000 (08:45 +0000)
committeraperez@igalia.com <aperez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Aug 2017 08:45:07 +0000 (08:45 +0000)
commit137e0874453f8e0a5b0c4a5f1cad1157f607c5e7
treeefdf1d033b92559305cb4eff726bada9b88b5b0f
parent88d96f370c42e336f57ea08ad1a6ad46bd6f41d5
Geoclue2 based backend should provide the right desktop ID
https://bugs.webkit.org/show_bug.cgi?id=129879

Reviewed by Michael Catanzaro.

* platform/geoclue/GeolocationProviderGeoclue.cpp:
(GeolocationProviderGeoclue::createGeoclueClientProxyCallback): Try first obtaining the application
identifier using GApplication first, keeping a fallback to the value returned by g_get_prgname().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@221132 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/geoclue/GeolocationProviderGeoclue.cpp
Source/WebKit/UIProcess/API/glib/WebKitGeolocationPermissionRequest.cpp