Bug 895274 part.69 Rename NS_FOCUS_CONTENT to eFocus r=smaug
This commit is contained in:
@@ -1511,7 +1511,7 @@ HTMLSelectElement::PreHandleEvent(EventChainPreVisitor& aVisitor)
|
||||
nsresult
|
||||
HTMLSelectElement::PostHandleEvent(EventChainPostVisitor& aVisitor)
|
||||
{
|
||||
if (aVisitor.mEvent->mMessage == NS_FOCUS_CONTENT) {
|
||||
if (aVisitor.mEvent->mMessage == eFocus) {
|
||||
// If the invalid UI is shown, we should show it while focused and
|
||||
// update the invalid/valid UI.
|
||||
mCanShowInvalidUI = !IsValid() && ShouldShowValidityUI();
|
||||
|
||||
Reference in New Issue
Block a user