[Webkit-unassigned] [Bug 29178] New: Geolocation should be refactored to use a single map to store all notifiers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 11 04:50:33 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=29178

           Summary: Geolocation should be refactored to use a single map
                    to store all notifiers
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: steveblock at google.com
            Blocks: 27944


Currently the Geolocation object stores its notifier objects in two data
structures. A set for the one-shot notifiers, and a map (from watch ID to
notifier) for the watcher notifiers.

The logic could be simplified if a single data structure were used. We could
assign IDs to one-shot notifiers as well as watcher notifiers, and store both
in a single maps.

This refactoring would also help solve the problem of looking up watchers by
ID, encountered in Bug 27944.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list