mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Removing NEW_DRAG_AND_DROP ifdef, this is on by default now.
This commit is contained in:
parent
39ccd5ae1a
commit
5e598e62bd
@ -334,10 +334,9 @@ NS_IMETHODIMP nsTextEditor::Init(nsIDOMDocument *aDoc,
|
||||
NS_ASSERTION(NS_SUCCEEDED(result), "failed to register text listener");
|
||||
result = erP->AddEventListenerByIID(mCompositionListenerP, nsIDOMCompositionListener::GetIID());
|
||||
NS_ASSERTION(NS_SUCCEEDED(result), "failed to register composition listener");
|
||||
#ifdef NEW_DRAG_AND_DROP
|
||||
result = erP->AddEventListenerByIID(mDragListenerP, nsIDOMDragListener::GetIID());
|
||||
NS_ASSERTION(NS_SUCCEEDED(result), "failed to register drag listener");
|
||||
#endif
|
||||
|
||||
result = NS_OK;
|
||||
EnableUndo(PR_TRUE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user