Changeset 25340 in webkit
- Timestamp:
- Sep 1, 2007 12:43:31 AM (17 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r25335 r25340 1 2007-09-01 Rob Buis <buis@kde.org> 2 3 Reviewed by Darin. 4 5 http://bugs.webkit.org/show_bug.cgi?id=15083 6 Some symbols in WebKit do not need to be exported 7 8 Do not export these symbols. 9 10 * dom/QualifiedName.cpp: 11 (WebCore::hashComponents): 12 * dom/XMLTokenizer.cpp: 13 (WebCore::toString): 14 (WebCore::getTokenizer): 15 * history/HistoryItem.cpp: 16 (WebCore::defaultNotifyHistoryItemChanged): 17 * platform/Arena.cpp: 18 (WebCore::CeilingLog2): 19 * platform/graphics/Color.cpp: 20 (WebCore::calcHue): 21 * platform/graphics/Path.cpp: 22 (WebCore::pathLengthApplierFunction): 23 * platform/graphics/cg/PathCG.cpp: 24 (WebCore::CGPathToCFStringApplierFunction): 25 (WebCore::CFStringFromCGPath): 26 * rendering/RenderText.cpp: 27 (WebCore::isSpaceAccordingToStyle): 28 1 29 2007-08-31 Alice Liu <alice.liu@apple.com> 2 30 -
trunk/WebCore/dom/QualifiedName.cpp
r15781 r25340 44 44 static const unsigned PHI = 0x9e3779b9U; 45 45 46 inline unsigned hashComponents(const QualifiedNameComponents& buf)46 static inline unsigned hashComponents(const QualifiedNameComponents& buf) 47 47 { 48 48 ASSERT(sizeof(QualifiedNameComponents) % (sizeof(uint16_t) * 2) == 0); -
trunk/WebCore/dom/XMLTokenizer.cpp
r25098 r25340 613 613 } 614 614 #ifndef USE_QXMLSTREAM 615 inline String toString(const xmlChar* str, unsigned len)615 static inline String toString(const xmlChar* str, unsigned len) 616 616 { 617 617 return UTF8Encoding().decode(reinterpret_cast<const char*>(str), len); 618 618 } 619 619 620 inline String toString(const xmlChar* str)620 static inline String toString(const xmlChar* str) 621 621 { 622 622 if (!str) … … 953 953 } 954 954 955 inline XMLTokenizer* getTokenizer(void* closure)955 static inline XMLTokenizer* getTokenizer(void* closure) 956 956 { 957 957 xmlParserCtxtPtr ctxt = static_cast<xmlParserCtxtPtr>(closure); -
trunk/WebCore/history/HistoryItem.cpp
r25275 r25340 38 38 namespace WebCore { 39 39 40 void defaultNotifyHistoryItemChanged() {}40 static void defaultNotifyHistoryItemChanged() {} 41 41 void (*notifyHistoryItemChanged)() = defaultNotifyHistoryItemChanged; 42 42 -
trunk/WebCore/platform/Arena.cpp
r20496 r25340 85 85 (_log2) += 1; 86 86 87 int CeilingLog2(unsigned int i) {87 static int CeilingLog2(unsigned int i) { 88 88 int log2; 89 89 CEILING_LOG2(log2,i); … … 284 284 } 285 285 286 void ArenaFinish(void) 287 { 288 Arena *a, *next; 289 290 for (a = arena_freelist; a; a = next) { 291 next = a->next; 292 fastFree(a); a = 0; 293 } 294 arena_freelist = NULL; 295 } 296 297 } 286 } -
trunk/WebCore/platform/graphics/Color.cpp
r24481 r25340 52 52 } 53 53 54 double calcHue(double temp1, double temp2, double hueVal)54 static double calcHue(double temp1, double temp2, double hueVal) 55 55 { 56 56 if (hueVal < 0.0) -
trunk/WebCore/platform/graphics/Path.cpp
r23948 r25340 40 40 namespace WebCore { 41 41 42 void pathLengthApplierFunction(void* info, const PathElement* element)42 static void pathLengthApplierFunction(void* info, const PathElement* element) 43 43 { 44 44 PathTraversalState& traversalState = *static_cast<PathTraversalState*>(info); -
trunk/WebCore/platform/graphics/cg/PathCG.cpp
r21316 r25340 148 148 } 149 149 150 void CGPathToCFStringApplierFunction(void* info, const CGPathElement *element)150 static void CGPathToCFStringApplierFunction(void* info, const CGPathElement *element) 151 151 { 152 152 CFMutableStringRef string = (CFMutableStringRef)info; … … 174 174 } 175 175 176 CFStringRef CFStringFromCGPath(CGPathRef path)176 static CFStringRef CFStringFromCGPath(CGPathRef path) 177 177 { 178 178 if (!path) -
trunk/WebCore/rendering/RenderText.cpp
r25319 r25340 493 493 } 494 494 495 inline bool isSpaceAccordingToStyle(UChar c, RenderStyle* style)495 static inline bool isSpaceAccordingToStyle(UChar c, RenderStyle* style) 496 496 { 497 497 return c == ' ' || (c == noBreakSpace && style->nbspMode() == SPACE);
Note: See TracChangeset
for help on using the changeset viewer.