Bug 1436508 part 13. Remove nsIDOMMutationEvent constants. r=masayuki
MozReview-Commit-ID: Anl5QJZknJL
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include "mozilla/dom/DOMPrefs.h"
|
||||
#include "mozilla/dom/HTMLButtonElement.h"
|
||||
#include "mozilla/dom/HTMLInputElement.h"
|
||||
#include "mozilla/dom/MutationEventBinding.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "nsNodeInfoManager.h"
|
||||
#include "nsContentCreatorFunctions.h"
|
||||
@@ -25,7 +26,6 @@
|
||||
#include "mozilla/dom/FileList.h"
|
||||
#include "nsIDOMDragEvent.h"
|
||||
#include "nsIDOMFileList.h"
|
||||
#include "nsIDOMMutationEvent.h"
|
||||
#include "nsTextNode.h"
|
||||
|
||||
using namespace mozilla;
|
||||
@@ -448,7 +448,7 @@ nsFileControlFrame::AttributeChanged(int32_t aNameSpaceID,
|
||||
int32_t aModType)
|
||||
{
|
||||
if (aNameSpaceID == kNameSpaceID_None && aAttribute == nsGkAtoms::tabindex) {
|
||||
if (aModType == nsIDOMMutationEvent::REMOVAL) {
|
||||
if (aModType == MutationEventBinding::REMOVAL) {
|
||||
mBrowseFilesOrDirs->UnsetAttr(aNameSpaceID, aAttribute, true);
|
||||
} else {
|
||||
nsAutoString value;
|
||||
|
||||
Reference in New Issue
Block a user