Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Unified Diff: Source/WebCore/bindings/dart/custom/DartHTMLCollectionCustom.cpp

Issue 12382018: Remove HTMLOutputElementCustom which is no longer needed. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Reupload. Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/WebCore/bindings/dart/custom/DartHTMLMediaElementCustom.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « no previous file | Source/WebCore/bindings/dart/custom/DartHTMLMediaElementCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698