summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLOptGroupElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLOptGroupElement.cpp')
-rw-r--r--WebCore/html/HTMLOptGroupElement.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/WebCore/html/HTMLOptGroupElement.cpp b/WebCore/html/HTMLOptGroupElement.cpp
index 294472b..5c79e74 100644
--- a/WebCore/html/HTMLOptGroupElement.cpp
+++ b/WebCore/html/HTMLOptGroupElement.cpp
@@ -58,40 +58,30 @@ const AtomicString& HTMLOptGroupElement::type() const
bool HTMLOptGroupElement::insertBefore(PassRefPtr<Node> newChild, Node* refChild, ExceptionCode& ec, bool shouldLazyAttach)
{
bool result = HTMLFormControlElement::insertBefore(newChild, refChild, ec, shouldLazyAttach);
- if (result)
- recalcSelectOptions();
return result;
}
bool HTMLOptGroupElement::replaceChild(PassRefPtr<Node> newChild, Node* oldChild, ExceptionCode& ec, bool shouldLazyAttach)
{
bool result = HTMLFormControlElement::replaceChild(newChild, oldChild, ec, shouldLazyAttach);
- if (result)
- recalcSelectOptions();
return result;
}
bool HTMLOptGroupElement::removeChild(Node* oldChild, ExceptionCode& ec)
{
bool result = HTMLFormControlElement::removeChild(oldChild, ec);
- if (result)
- recalcSelectOptions();
return result;
}
bool HTMLOptGroupElement::appendChild(PassRefPtr<Node> newChild, ExceptionCode& ec, bool shouldLazyAttach)
{
bool result = HTMLFormControlElement::appendChild(newChild, ec, shouldLazyAttach);
- if (result)
- recalcSelectOptions();
return result;
}
bool HTMLOptGroupElement::removeChildren()
{
bool result = HTMLFormControlElement::removeChildren();
- if (result)
- recalcSelectOptions();
return result;
}