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

Unified Diff: Source/core/html/HTMLOptionsCollection.cpp

Issue 426513002: Remove HTMLOptionsCollection.remove(element) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: header too Created 6 years, 5 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 | « Source/core/html/HTMLOptionsCollection.h ('k') | Source/core/html/HTMLOptionsCollection.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLOptionsCollection.cpp
diff --git a/Source/core/html/HTMLOptionsCollection.cpp b/Source/core/html/HTMLOptionsCollection.cpp
index 36a61acb5f16103713fec96e1a08f32ed3f8590d..b9bc633dae5bfe883070e78074d33cae4d6ee398 100644
--- a/Source/core/html/HTMLOptionsCollection.cpp
+++ b/Source/core/html/HTMLOptionsCollection.cpp
@@ -103,11 +103,6 @@ void HTMLOptionsCollection::remove(int index)
toHTMLSelectElement(ownerNode()).remove(index);
}
-void HTMLOptionsCollection::remove(HTMLOptionElement* option)
-{
- return remove(option->index());
-}
-
int HTMLOptionsCollection::selectedIndex() const
{
return toHTMLSelectElement(ownerNode()).selectedIndex();
« no previous file with comments | « Source/core/html/HTMLOptionsCollection.h ('k') | Source/core/html/HTMLOptionsCollection.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698