WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
22326
Use some predefined identifiers rather than strings for resource names
https://bugs.webkit.org/show_bug.cgi?id=22326
Summary
Use some predefined identifiers rather than strings for resource names
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
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug