Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug
This commit is contained in:
@@ -254,7 +254,7 @@ HTMLMenuItemElement::SetChecked(bool aChecked)
|
||||
nsresult
|
||||
HTMLMenuItemElement::PreHandleEvent(EventChainPreVisitor& aVisitor)
|
||||
{
|
||||
if (aVisitor.mEvent->message == NS_MOUSE_CLICK) {
|
||||
if (aVisitor.mEvent->mMessage == NS_MOUSE_CLICK) {
|
||||
|
||||
bool originalCheckedValue = false;
|
||||
switch (mType) {
|
||||
@@ -290,7 +290,7 @@ nsresult
|
||||
HTMLMenuItemElement::PostHandleEvent(EventChainPostVisitor& aVisitor)
|
||||
{
|
||||
// Check to see if the event was cancelled.
|
||||
if (aVisitor.mEvent->message == NS_MOUSE_CLICK &&
|
||||
if (aVisitor.mEvent->mMessage == NS_MOUSE_CLICK &&
|
||||
aVisitor.mItemFlags & NS_CHECKED_IS_TOGGLED &&
|
||||
aVisitor.mEventStatus == nsEventStatus_eConsumeNoDefault) {
|
||||
bool originalCheckedValue =
|
||||
|
||||
Reference in New Issue
Block a user