Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include "mozilla/dom/ContentChild.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "mozilla/dom/TabChild.h"
|
||||
#include "mozilla/EventStateManager.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/StartupTimeline.h"
|
||||
@@ -150,8 +151,6 @@
|
||||
|
||||
#include "nsIGlobalHistory2.h"
|
||||
|
||||
#include "nsEventStateManager.h"
|
||||
|
||||
#include "nsIFrame.h"
|
||||
#include "nsSubDocumentFrame.h"
|
||||
|
||||
@@ -12782,7 +12781,7 @@ bool
|
||||
nsDocShell::ShouldBlockLoadingForBackButton()
|
||||
{
|
||||
if (!(mLoadType & LOAD_CMD_HISTORY) ||
|
||||
nsEventStateManager::IsHandlingUserInput() ||
|
||||
EventStateManager::IsHandlingUserInput() ||
|
||||
!Preferences::GetBool("accessibility.blockjsredirection")) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user