Backed out changeset 656b4466e33b (bug 1340488) for Bustage in nsComboboxControlFrame.h
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user