Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 544d14e5357117f044702793e3169ec97c6ef0a6
      
https://github.com/WebKit/WebKit/commit/544d14e5357117f044702793e3169ec97c6ef0a6
  Author: Ryosuke Niwa <rn...@webkit.org>
  Date:   2023-02-15 (Wed, 15 Feb 2023)

  Changed paths:
    M Source/WebKit/WebProcess/Geolocation/WebGeolocationManager.cpp
    M Source/WebKit/WebProcess/Geolocation/WebGeolocationManager.h

  Log Message:
  -----------
  WebGeolocationManager should use WeakHashMap of WebPage instead of raw 
pointers
https://bugs.webkit.org/show_bug.cgi?id=252343

Reviewed by Chris Dumez.

Deployed WeakHashMap in place of HashMap of raw pointers.

* Source/WebKit/WebProcess/Geolocation/WebGeolocationManager.cpp:
(WebKit::WebGeolocationManager::registerWebPage):
(WebKit::WebGeolocationManager::unregisterWebPage):
(WebKit::WebGeolocationManager::setEnableHighAccuracyForPage):
* Source/WebKit/WebProcess/Geolocation/WebGeolocationManager.h:

Canonical link: https://commits.webkit.org/260333@main


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to