| Index: Source/WebCore/bindings/dart/custom/DartHTMLCollectionCustom.cpp
|
| diff --git a/Source/WebCore/bindings/dart/custom/DartHTMLCollectionCustom.cpp b/Source/WebCore/bindings/dart/custom/DartHTMLCollectionCustom.cpp
|
| index fa5231a447498e2ba9ac4afd22d36db51c0edb74..e1bb3da8177925530ea93fbe3ee31616edd5f423 100644
|
| --- a/Source/WebCore/bindings/dart/custom/DartHTMLCollectionCustom.cpp
|
| +++ b/Source/WebCore/bindings/dart/custom/DartHTMLCollectionCustom.cpp
|
| @@ -39,36 +39,6 @@
|
|
|
| namespace WebCore {
|
|
|
| -namespace DartHTMLCollectionInternal {
|
| -
|
| -// This method is custom in JavaScript.
|
| -void itemCallback(Dart_NativeArguments args)
|
| -{
|
| - DartApiScope dartApiScope;
|
| - Dart_Handle exception = 0;
|
| - {
|
| - HTMLCollection* receiver = DartDOMWrapper::receiver<HTMLCollection>(args);
|
| - unsigned index = DartUtilities::dartToUnsigned(Dart_GetNativeArgument(args, 1), exception);
|
| - if (exception)
|
| - goto fail;
|
| -
|
| - DartDOMWrapper::returnValue<DartNode>(args, receiver->item(index));
|
| - return;
|
| - }
|
| -
|
| -fail:
|
| - Dart_ThrowException(exception);
|
| - ASSERT_NOT_REACHED();
|
| -}
|
| -
|
| -void namedItemCallback(Dart_NativeArguments)
|
| -{
|
| - // FIXME: proper implementation.
|
| - DART_UNIMPLEMENTED();
|
| -}
|
| -
|
| -}
|
| -
|
| Dart_Handle DartHTMLCollection::toDart(HTMLCollection* collection)
|
| {
|
| if (!collection)
|
|
|