Bug 22326

Summary: Use some predefined identifiers rather than strings for resource names
Product: WebKit Reporter: Brett Wilson (Google) <brettw>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal    
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Brett Wilson (Google)
Reported 2008-11-17 16:51:12 PST
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.
Attachments
Note You need to log in before you can comment on or make changes to this bug.