2650
|
1 |
diff -r 00db8a98736c WebCore/bindings/js/JSSVGPODListCustom.h
|
|
2 |
--- a/WebCore/bindings/js/JSSVGPODListCustom.h Tue Mar 30 14:22:52 2010 +0800
|
|
3 |
+++ b/WebCore/bindings/js/JSSVGPODListCustom.h Tue Mar 30 14:55:59 2010 +0800
|
|
4 |
@@ -111,7 +111,7 @@
|
2315
|
5 |
ExceptionCode ec = 0;
|
|
6 |
typename JSSVGPODListTraits<PODType>::PODList* listImp = wrapper->impl();
|
2650
|
7 |
return finishSetter<JSPODListType, PODType>(exec, ec, wrapper,
|
|
8 |
- listImp->initialize(JSSVGPODListTraits<PODType>::PODListItem::copy(conversion(args.at(0))), ec));
|
|
9 |
+ (PassRefPtr<typename JSSVGPODListTraits<PODType>::PODListItem>)listImp->initialize(JSSVGPODListTraits<PODType>::PODListItem::copy(conversion(args.at(0))), ec));
|
2315
|
10 |
}
|
|
11 |
|
|
12 |
template<typename JSPODListType, typename PODType>
|
2650
|
13 |
@@ -128,7 +128,7 @@
|
2315
|
14 |
ExceptionCode ec = 0;
|
|
15 |
typename JSSVGPODListTraits<PODType>::PODList* listImp = wrapper->impl();
|
2650
|
16 |
return finishGetter<JSPODListType, PODType>(exec, ec, wrapper,
|
|
17 |
- listImp->getItem(index, ec));
|
|
18 |
+ (PassRefPtr<typename JSSVGPODListTraits<PODType>::PODListItem>)listImp->getItem(index, ec));
|
2315
|
19 |
}
|
|
20 |
|
|
21 |
template<typename JSPODListType, typename PODType>
|
2650
|
22 |
@@ -145,7 +145,7 @@
|
2315
|
23 |
ExceptionCode ec = 0;
|
|
24 |
typename JSSVGPODListTraits<PODType>::PODList* listImp = wrapper->impl();
|
2650
|
25 |
return finishSetter<JSPODListType, PODType>(exec, ec, wrapper,
|
|
26 |
- listImp->insertItemBefore(JSSVGPODListTraits<PODType>::PODListItem::copy(conversion(args.at(0))), index, ec));
|
|
27 |
+ (PassRefPtr<typename JSSVGPODListTraits<PODType>::PODListItem>)listImp->insertItemBefore(JSSVGPODListTraits<PODType>::PODListItem::copy(conversion(args.at(0))), index, ec));
|
2315
|
28 |
}
|
|
29 |
|
|
30 |
template<typename JSPODListType, typename PODType>
|
2650
|
31 |
@@ -162,7 +162,7 @@
|
2315
|
32 |
ExceptionCode ec = 0;
|
|
33 |
typename JSSVGPODListTraits<PODType>::PODList* listImp = wrapper->impl();
|
2650
|
34 |
return finishSetter<JSPODListType, PODType>(exec, ec, wrapper,
|
|
35 |
- listImp->replaceItem(JSSVGPODListTraits<PODType>::PODListItem::copy(conversion(args.at(0))), index, ec));
|
|
36 |
+ (PassRefPtr<typename JSSVGPODListTraits<PODType>::PODListItem>)listImp->replaceItem(JSSVGPODListTraits<PODType>::PODListItem::copy(conversion(args.at(0))), index, ec));
|
2315
|
37 |
}
|
|
38 |
|
|
39 |
template<typename JSPODListType, typename PODType>
|
2650
|
40 |
@@ -179,7 +179,7 @@
|
2315
|
41 |
ExceptionCode ec = 0;
|
|
42 |
typename JSSVGPODListTraits<PODType>::PODList* listImp = wrapper->impl();
|
2650
|
43 |
return finishSetterReadOnlyResult<JSPODListType, PODType>(exec, ec, wrapper,
|
|
44 |
- listImp->removeItem(index, ec));
|
|
45 |
+ (PassRefPtr<typename JSSVGPODListTraits<PODType>::PODListItem>)listImp->removeItem(index, ec));
|
2315
|
46 |
}
|
|
47 |
|
|
48 |
template<typename JSPODListType, typename PODType>
|
2650
|
49 |
@@ -189,7 +189,7 @@
|
2315
|
50 |
ExceptionCode ec = 0;
|
|
51 |
typename JSSVGPODListTraits<PODType>::PODList* listImp = wrapper->impl();
|
2650
|
52 |
return finishSetter<JSPODListType, PODType>(exec, ec, wrapper,
|
|
53 |
- listImp->appendItem(JSSVGPODListTraits<PODType>::PODListItem::copy(conversion(args.at(0))), ec));
|
|
54 |
+ (PassRefPtr<typename JSSVGPODListTraits<PODType>::PODListItem>)listImp->appendItem(JSSVGPODListTraits<PODType>::PODListItem::copy(conversion(args.at(0))), ec));
|
2315
|
55 |
}
|
|
56 |
|
|
57 |
}
|