Summary: | Break out "scheme registration" functionality to a SchemeRegistry | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Brady Eidson <beidson> | ||||
Component: | Platform | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Brady Eidson
2010-07-21 13:43:30 PDT
Created attachment 62229 [details]
Patch
Comment on attachment 62229 [details]
Patch
WebCore/platform/SchemeRegistry.cpp:94
+
Boo on two names for the same thing. I would rename "localSchemes" to "localURLSchemes". (Requires a namespace qualification on the return statement.)
WebCore/platform/SchemeRegistry.cpp:106
+
Seems like these fast cases should assert that they're correct. Something like "ASSERT(localSchemes().contains(X))".
r=me
Committed r63863: <http://trac.webkit.org/changeset/63863> |