| Summary: |
UMBRELLA: Consolidate duplicate soft-linked functions |
| Product: |
WebKit
|
Reporter: |
David Kilzer (:ddkilzer) <ddkilzer> |
| Component: |
WebCore Misc. | Assignee: |
Nobody <webkit-unassigned> |
| Status: |
RESOLVED
FIXED
|
|
|
| Severity: |
Normal
|
CC: |
achristensen, benjamin, bfulgham, eric.carlson, jeremyj-wk, jer.noble, jonlee, kling
|
| Priority: |
P2
|
|
|
| Version: |
528+ (Nightly build) | |
|
| Hardware: |
Unspecified | |
|
| OS: |
Unspecified | |
|
| Bug Depends on: |
141655, 141791, 141816, 141849, 141870, 141872, 142176, 142177, 142434, 193568
|
|
|
| Bug Blocks: |
|
|
|
Consolidating duplicate soft-linked functions would remove duplicate code created for each function, and remove/consolidate some static pointers that would cause dirty pages when the soft-linked method is used. Here's a rough estimation of the current duplicate functions: $ grep -r 'SOFT_LINK(' Source/WebCore | cut -d, -f2 | sed -e 's/^ *//' -e 's/ *$//' | sort | uniq -c | sort -n 2 CMNotificationCenterAddListener 2 CMNotificationCenterGetDefaultLocalCenter 2 CMNotificationCenterRemoveListener 2 CMTimeCompare 2 CMTimeCopyAsDictionary 2 CMTimeRangeGetEnd 2 CloseThemeData 2 DrawThemeBackground 2 IsThemeActive 2 IsThemeBackgroundPartiallyTransparent 2 OpenThemeData 2 QTMakeTime 2 paintThemePart 3 CMSampleBufferGetPresentationTimeStamp 3 CMTimeMake 3 CMTimebaseGetTime 4 CMSampleBufferGetFormatDescription 4 CMTimeGetSeconds 4 CMTimeMakeWithSeconds 4 UTTypeCopyPreferredTagWithClass 4 UTTypeCreatePreferredIdentifierForTag I'm not sure how much code space each method takes, though.