equal
deleted
inserted
replaced
33 #else |
33 #else |
34 #define QNAME_DEFAULT_CONSTRUCTOR 1 |
34 #define QNAME_DEFAULT_CONSTRUCTOR 1 |
35 #endif |
35 #endif |
36 |
36 |
37 #include "HTMLNames.h" |
37 #include "HTMLNames.h" |
38 |
|
39 #include "StaticConstructors.h" |
38 #include "StaticConstructors.h" |
40 namespace WebCore { namespace HTMLNames { |
39 namespace WebCore { namespace HTMLNames { |
41 |
40 |
42 using namespace WebCore; |
41 using namespace WebCore; |
43 |
42 |
1249 new ((void*)&wrapAttr) QualifiedName(nullAtom, wrapAttrString, nullAtom); |
1248 new ((void*)&wrapAttr) QualifiedName(nullAtom, wrapAttrString, nullAtom); |
1250 } |
1249 } |
1251 |
1250 |
1252 void remove() |
1251 void remove() |
1253 { |
1252 { |
|
1253 #ifndef __WINSCW__ |
|
1254 if( initialized ) { |
|
1255 size_t num(0); |
|
1256 QualifiedName** array = getHTMLTags(&num); |
|
1257 for( int i=0; i<num; ++i ) { |
|
1258 // Items are not void*, so we explicitly call the destructor to clean them up |
|
1259 // These pointers are not deletable because they are new'ed to a fixed address |
|
1260 QualifiedName* item = array[i]; |
|
1261 item->~QualifiedName(); |
|
1262 } |
|
1263 array = getHTMLAttrs(&num); |
|
1264 for( int i=0; i<num; ++i ) { |
|
1265 // Items are not void*, so we explicitly call the destructor to clean them up |
|
1266 // These pointers are not deletable because they are new'ed to a fixed address |
|
1267 QualifiedName* item = array[i]; |
|
1268 item->~QualifiedName(); |
|
1269 } |
|
1270 } |
|
1271 #endif //__WINSCW__ |
1254 |
1272 |
1255 xhtmlNSString = ""; |
1273 xhtmlNSString = ""; |
1256 aTagString = ""; |
1274 aTagString = ""; |
1257 abbrTagString = ""; |
1275 abbrTagString = ""; |
1258 |
|
1259 acronymTagString = ""; |
1276 acronymTagString = ""; |
1260 addressTagString = ""; |
1277 addressTagString = ""; |
1261 appletTagString = ""; |
1278 appletTagString = ""; |
1262 areaTagString = ""; |
1279 areaTagString = ""; |
1263 bTagString = ""; |
1280 bTagString = ""; |