[Webkit-unassigned] [Bug 104777] New: Web Inspector: Native Memory Instrumentation: simplify Sequences processing code.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 12 01:30:53 PST 2012


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

           Summary: Web Inspector: Native Memory Instrumentation: simplify
                    Sequences processing code.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: loislo at chromium.org
                CC: keishi at webkit.org, pmuellr at yahoo.com,
                    pfeldman at chromium.org, yurys at chromium.org,
                    apavlov at chromium.org, loislo at chromium.org,
                    vsevik at chromium.org,
                    web-inspector-bugs at googlegroups.com


The old code uses a free template function with two template arguments and a traits struct.
The function uses two template arguments, the user type and iterator type.

I found that if I need an overload for a type then I should overload the free template function.
It forces me to explicitly specify iterator type for the second template argument.
First of all it requires too many letters.
The second, I need to copy&paste such overload for all types of iterators. HashMap::const_iterator, HashSet::const_iterator, etc.

Solution: the free function needs to be converted to the traits function.

Patch to follow.

-- 
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