[Webkit-unassigned] [Bug 22326] New: Use some predefined identifiers rather than strings for resource names

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 17 16:51:13 PST 2008


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

           Summary: Use some predefined identifiers rather than strings for
                    resource names
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P3
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: brettw at chromium.org


Image::loadPlatformResource takes the name of a resource to load. The names
provided are literals at the call site. This seems kind of silly since then the
port's implementation of it has to do a bunch of strcmps against new literals.

It would be nice if there were some global constants for these instead of
literal strings so it would be easier to keep things in sync.


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



More information about the webkit-unassigned mailing list