Backed out changeset e7e01671e85f (bug 1253977) for windows reftest failures in focusring-1.html CLOSED TREE
MozReview-Commit-ID: 8j0fD5taR6z
This commit is contained in:
@@ -958,10 +958,6 @@ nsComboboxControlFrame::SetDropDown(nsIFrame* aDropDownFrame)
|
||||
{
|
||||
mDropdownFrame = aDropDownFrame;
|
||||
mListControlFrame = do_QueryFrame(mDropdownFrame);
|
||||
if (!sFocused && nsContentUtils::IsFocusedContent(GetContent())) {
|
||||
sFocused = this;
|
||||
nsListControlFrame::ComboboxFocusSet();
|
||||
}
|
||||
}
|
||||
|
||||
nsIFrame*
|
||||
@@ -1391,10 +1387,6 @@ nsComboboxControlFrame::CreateFrameFor(nsIContent* aContent)
|
||||
void
|
||||
nsComboboxControlFrame::DestroyFrom(nsIFrame* aDestructRoot)
|
||||
{
|
||||
if (sFocused == this) {
|
||||
sFocused = nullptr;
|
||||
}
|
||||
|
||||
// Revoke any pending RedisplayTextEvent
|
||||
mRedisplayTextEvent.Revoke();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user