| Index: Source/bindings/core/v8/custom/V8HTMLAllCollectionCustom.cpp
|
| diff --git a/Source/bindings/core/v8/custom/V8HTMLAllCollectionCustom.cpp b/Source/bindings/core/v8/custom/V8HTMLAllCollectionCustom.cpp
|
| index c57f34bfba615314097170807e8da8e63d87407c..80ed8c49cdd5bf98a1924f561d4154d03d178987 100644
|
| --- a/Source/bindings/core/v8/custom/V8HTMLAllCollectionCustom.cpp
|
| +++ b/Source/bindings/core/v8/custom/V8HTMLAllCollectionCustom.cpp
|
| @@ -54,7 +54,14 @@ static v8::Handle<v8::Value> getNamedItems(HTMLAllCollection* collection, Atomic
|
|
|
| // FIXME: HTML5 specification says this should be a HTMLCollection.
|
| // http://www.whatwg.org/specs/web-apps/current-work/multipage/common-dom-interfaces.html#htmlallcollection
|
| - return toV8(StaticElementList::adopt(namedItems), info.Holder(), info.GetIsolate());
|
| + //
|
| + // FIXME: Oilpan: explicit conversion needed as there is currently
|
| + // no implicit RawPtr<T>(RawPtr<U>) constructor (for type
|
| + // convertible pairs T and U) that would implicitly convert a
|
| + // RawPtr<StaticElementList> to a RawPtr<NodeList> (the former is
|
| + // a subclass of the latter.) Such a conversion is needed to
|
| + // resolve the toV8() call.
|
| + return toV8(PassRefPtrWillBeRawPtr<NodeList>(StaticElementList::adopt(namedItems)), info.Holder(), info.GetIsolate());
|
| }
|
|
|
| template<class CallbackInfo>
|
|
|