patches/webkit-08-svgpodlist.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 2650 901d2088a9b2
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2650
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
     1
diff -r 00db8a98736c WebCore/bindings/js/JSSVGPODListCustom.h
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
     2
--- a/WebCore/bindings/js/JSSVGPODListCustom.h	Tue Mar 30 14:22:52 2010 +0800
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
     3
+++ b/WebCore/bindings/js/JSSVGPODListCustom.h	Tue Mar 30 14:55:59 2010 +0800
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
     4
@@ -111,7 +111,7 @@
2315
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
     5
     ExceptionCode ec = 0;
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
     6
     typename JSSVGPODListTraits<PODType>::PODList* listImp = wrapper->impl();
2650
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
     7
     return finishSetter<JSPODListType, PODType>(exec, ec, wrapper,
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
     8
-                                                listImp->initialize(JSSVGPODListTraits<PODType>::PODListItem::copy(conversion(args.at(0))), ec));
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
     9
+                                                (PassRefPtr<typename JSSVGPODListTraits<PODType>::PODListItem>)listImp->initialize(JSSVGPODListTraits<PODType>::PODListItem::copy(conversion(args.at(0))), ec));
2315
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    10
 }
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    11
 
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    12
 template<typename JSPODListType, typename PODType>
2650
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
    13
@@ -128,7 +128,7 @@
2315
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    14
     ExceptionCode ec = 0;
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    15
     typename JSSVGPODListTraits<PODType>::PODList* listImp = wrapper->impl();
2650
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
    16
     return finishGetter<JSPODListType, PODType>(exec, ec, wrapper,
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
    17
-                                                listImp->getItem(index, ec));
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
    18
+           (PassRefPtr<typename JSSVGPODListTraits<PODType>::PODListItem>)listImp->getItem(index, ec));
2315
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    19
 }
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    20
 
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    21
 template<typename JSPODListType, typename PODType>
2650
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
    22
@@ -145,7 +145,7 @@
2315
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    23
     ExceptionCode ec = 0;
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    24
     typename JSSVGPODListTraits<PODType>::PODList* listImp = wrapper->impl();
2650
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
    25
     return finishSetter<JSPODListType, PODType>(exec, ec, wrapper,
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
    26
-                                                listImp->insertItemBefore(JSSVGPODListTraits<PODType>::PODListItem::copy(conversion(args.at(0))), index, ec));
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
    27
+           (PassRefPtr<typename JSSVGPODListTraits<PODType>::PODListItem>)listImp->insertItemBefore(JSSVGPODListTraits<PODType>::PODListItem::copy(conversion(args.at(0))), index, ec));
2315
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    28
 }
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    29
 
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    30
 template<typename JSPODListType, typename PODType>
2650
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
    31
@@ -162,7 +162,7 @@
2315
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    32
     ExceptionCode ec = 0;
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    33
     typename JSSVGPODListTraits<PODType>::PODList* listImp = wrapper->impl();
2650
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
    34
     return finishSetter<JSPODListType, PODType>(exec, ec, wrapper,
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
    35
-                                                listImp->replaceItem(JSSVGPODListTraits<PODType>::PODListItem::copy(conversion(args.at(0))), index, ec));
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
    36
+           (PassRefPtr<typename JSSVGPODListTraits<PODType>::PODListItem>)listImp->replaceItem(JSSVGPODListTraits<PODType>::PODListItem::copy(conversion(args.at(0))), index, ec));
2315
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    37
 }
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    38
 
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    39
 template<typename JSPODListType, typename PODType>
2650
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
    40
@@ -179,7 +179,7 @@
2315
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    41
     ExceptionCode ec = 0;
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    42
     typename JSSVGPODListTraits<PODType>::PODList* listImp = wrapper->impl();
2650
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
    43
     return finishSetterReadOnlyResult<JSPODListType, PODType>(exec, ec, wrapper,
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
    44
-                                                              listImp->removeItem(index, ec));
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
    45
+           (PassRefPtr<typename JSSVGPODListTraits<PODType>::PODListItem>)listImp->removeItem(index, ec));
2315
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    46
 }
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    47
 
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    48
 template<typename JSPODListType, typename PODType>
2650
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
    49
@@ -189,7 +189,7 @@
2315
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    50
     ExceptionCode ec = 0;
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    51
     typename JSSVGPODListTraits<PODType>::PODList* listImp = wrapper->impl();
2650
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
    52
     return finishSetter<JSPODListType, PODType>(exec, ec, wrapper,
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
    53
-                                                listImp->appendItem(JSSVGPODListTraits<PODType>::PODListItem::copy(conversion(args.at(0))), ec));
901d2088a9b2 Bump webkit to 1.1.90
simonjin
parents: 2315
diff changeset
    54
+           (PassRefPtr<typename JSSVGPODListTraits<PODType>::PODListItem>)listImp->appendItem(JSSVGPODListTraits<PODType>::PODListItem::copy(conversion(args.at(0))), ec));
2315
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    55
 }
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    56
 
ef3e0baebb09 Bump webkit-cstd to 1.1.19
simonjin
parents:
diff changeset
    57
 }