Backed out 3 changesets (bug 1479569) for devtools/client/responsive.html failures. CLOSED TREE
Backed out changeset e123d0aa911c (bug 1479569) Backed out changeset b828a58404e5 (bug 1479569) Backed out changeset 97041ef8f311 (bug 1479569)
This commit is contained in:
@@ -121,7 +121,6 @@
|
||||
#include "nsHtml5StringParser.h"
|
||||
#include "nsHTMLDocument.h"
|
||||
#include "nsHTMLTags.h"
|
||||
#include "nsInProcessTabChildGlobal.h"
|
||||
#include "nsIAddonPolicyService.h"
|
||||
#include "nsIAnonymousContentCreator.h"
|
||||
#include "nsIAsyncVerifyRedirectCallback.h"
|
||||
@@ -11088,8 +11087,8 @@ nsContentUtils::ContentIsLink(nsIContent* aContent)
|
||||
kNameSpaceID_XLink, nsGkAtoms::type, nsGkAtoms::simple, eCaseMatters);
|
||||
}
|
||||
|
||||
/* static */ already_AddRefed<ContentFrameMessageManager>
|
||||
nsContentUtils::TryGetTabChildGlobal(nsISupports* aFrom)
|
||||
/* static */ already_AddRefed<EventTarget>
|
||||
nsContentUtils::TryGetTabChildGlobalAsEventTarget(nsISupports* aFrom)
|
||||
{
|
||||
nsCOMPtr<nsIFrameLoaderOwner> frameLoaderOwner = do_QueryInterface(aFrom);
|
||||
if (!frameLoaderOwner) {
|
||||
@@ -11101,8 +11100,8 @@ nsContentUtils::TryGetTabChildGlobal(nsISupports* aFrom)
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
RefPtr<ContentFrameMessageManager> manager = frameLoader->GetTabChildGlobal();
|
||||
return manager.forget();
|
||||
nsCOMPtr<EventTarget> target = frameLoader->GetTabChildGlobalAsEventTarget();
|
||||
return target.forget();
|
||||
}
|
||||
|
||||
/* static */ uint32_t
|
||||
|
||||
Reference in New Issue
Block a user