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

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

Issue 494653002: Move HTMLTable*Element.insert{Row,Cell}'s argument default into IDL file (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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/HTMLTableElement.h ('k') | Source/core/html/HTMLTableElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLTableElement.cpp
diff --git a/Source/core/html/HTMLTableElement.cpp b/Source/core/html/HTMLTableElement.cpp
index 83670de0e53639c2b40f1ee8f5e4cd6e17413075..f2dccb02fece1fe417f3caffbb7498521d334798 100644
--- a/Source/core/html/HTMLTableElement.cpp
+++ b/Source/core/html/HTMLTableElement.cpp
@@ -168,12 +168,6 @@ HTMLTableSectionElement* HTMLTableElement::lastBody() const
return toHTMLTableSectionElement(Traversal<HTMLElement>::lastChild(*this, HasHTMLTagName(tbodyTag)));
}
-PassRefPtrWillBeRawPtr<HTMLElement> HTMLTableElement::insertRow(ExceptionState& exceptionState)
-{
- // The default 'index' argument value is -1.
- return insertRow(-1, exceptionState);
-}
-
PassRefPtrWillBeRawPtr<HTMLElement> HTMLTableElement::insertRow(int index, ExceptionState& exceptionState)
{
if (index < -1) {
« no previous file with comments | « Source/core/html/HTMLTableElement.h ('k') | Source/core/html/HTMLTableElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698