Backed out changeset 656b4466e33b (bug 1340488) for Bustage in nsComboboxControlFrame.h

This commit is contained in:
Carsten "Tomcat" Book
2017-05-09 16:54:26 +02:00
parent d11d99dd77
commit d1a5896930
6 changed files with 31 additions and 80 deletions

View File

@@ -1932,26 +1932,6 @@ HTMLSelectElement::SetOpenInParentProcess(bool aVal)
}
}
void
HTMLSelectElement::GetPreviewValue(nsAString& aValue)
{
nsIFormControlFrame* formControlFrame = GetFormControlFrame(false);
nsIComboboxControlFrame* comboFrame = do_QueryFrame(formControlFrame);
if (comboFrame) {
comboFrame->GetPreviewText(aValue);
}
}
void
HTMLSelectElement::SetPreviewValue(const nsAString& aValue)
{
nsIFormControlFrame* formControlFrame = GetFormControlFrame(false);
nsIComboboxControlFrame* comboFrame = do_QueryFrame(formControlFrame);
if (comboFrame) {
comboFrame->SetPreviewText(aValue);
}
}
JSObject*
HTMLSelectElement::WrapNode(JSContext* aCx, JS::Handle<JSObject*> aGivenProto)
{