equal
deleted
inserted
replaced
1245 new ((void*)&volumeAttr) QualifiedName(nullAtom, volumeAttrString, nullAtom); |
1245 new ((void*)&volumeAttr) QualifiedName(nullAtom, volumeAttrString, nullAtom); |
1246 new ((void*)&vspaceAttr) QualifiedName(nullAtom, vspaceAttrString, nullAtom); |
1246 new ((void*)&vspaceAttr) QualifiedName(nullAtom, vspaceAttrString, nullAtom); |
1247 new ((void*)&widthAttr) QualifiedName(nullAtom, widthAttrString, nullAtom); |
1247 new ((void*)&widthAttr) QualifiedName(nullAtom, widthAttrString, nullAtom); |
1248 new ((void*)&wrapAttr) QualifiedName(nullAtom, wrapAttrString, nullAtom); |
1248 new ((void*)&wrapAttr) QualifiedName(nullAtom, wrapAttrString, nullAtom); |
1249 } |
1249 } |
1250 |
1250 struct cleanupHtmlNames { |
1251 void remove() |
1251 ~cleanupHtmlNames() { |
1252 { |
1252 // This will destroy the AtomicString table |
|
1253 // All other atomic string destruction must be done before this call |
|
1254 |
1253 #ifndef __WINSCW__ |
1255 #ifndef __WINSCW__ |
1254 if( initialized ) { |
1256 if( initialized ) { |
1255 size_t num(0); |
1257 size_t num(0); |
1256 QualifiedName** array = getHTMLTags(&num); |
1258 QualifiedName** array = getHTMLTags(&num); |
1257 for( int i=0; i<num; ++i ) { |
1259 for( int i=0; i<num; ++i ) { |
1561 volumeAttrString = ""; |
1563 volumeAttrString = ""; |
1562 vspaceAttrString = ""; |
1564 vspaceAttrString = ""; |
1563 widthAttrString = ""; |
1565 widthAttrString = ""; |
1564 wrapAttrString = ""; |
1566 wrapAttrString = ""; |
1565 |
1567 |
1566 AtomicString::remove(); |
1568 AtomicString::remove(); |
1567 |
1569 |
1568 initialized = false; |
1570 initialized = false; |
1569 } //remove() |
1571 } |
|
1572 }; |
|
1573 struct cleanupHtmlNames htmlNames; |
1570 |
1574 |
1571 } //HTMLNames |
1575 } //HTMLNames |
1572 |
1576 |
1573 } //WebCore |
1577 } //WebCore |