Bug 22326
Summary: | Use some predefined identifiers rather than strings for resource names | ||
---|---|---|---|
Product: | WebKit | Reporter: | Brett Wilson (Google) <brettw> |
Component: | Platform | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | ||
Priority: | P3 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Brett Wilson (Google)
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |