зеркало из https://github.com/mozilla/gecko-dev.git
No bug - minor non-unified build fixes.
Differential Revision: https://phabricator.services.mozilla.com/D56305 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
debe573ef3
Коммит
89af4fcde2
|
@ -72,7 +72,7 @@ class FullscreenRequest : public FullscreenChange {
|
|||
public:
|
||||
static const ChangeType kType = eEnter;
|
||||
|
||||
static UniquePtr<FullscreenRequest> Create(Element* aElement,
|
||||
static UniquePtr<FullscreenRequest> Create(dom::Element* aElement,
|
||||
dom::CallerType aCallerType,
|
||||
ErrorResult& aRv) {
|
||||
RefPtr<Promise> promise = Promise::Create(aElement->GetOwnerGlobal(), aRv);
|
||||
|
@ -80,7 +80,7 @@ class FullscreenRequest : public FullscreenChange {
|
|||
new FullscreenRequest(aElement, promise.forget(), aCallerType, true));
|
||||
}
|
||||
|
||||
static UniquePtr<FullscreenRequest> CreateForRemote(Element* aElement) {
|
||||
static UniquePtr<FullscreenRequest> CreateForRemote(dom::Element* aElement) {
|
||||
return WrapUnique(new FullscreenRequest(aElement, nullptr,
|
||||
dom::CallerType::NonSystem, false));
|
||||
}
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
#ifndef mozilla_dom_FramingChecker_h
|
||||
#define mozilla_dom_FramingChecker_h
|
||||
|
||||
#include "nsStringFwd.h"
|
||||
|
||||
class nsIDocShell;
|
||||
class nsIChannel;
|
||||
class nsIHttpChannel;
|
||||
|
@ -47,8 +49,9 @@ class FramingChecker {
|
|||
nsIURI* aChildURI, const nsAString& aPolicy,
|
||||
uint64_t aInnerWindowID);
|
||||
static void ReportError(const char* aMessageTag,
|
||||
BrowsingContext* aParentContext, nsIURI* aChildURI,
|
||||
const nsAString& aPolicy, uint64_t aInnerWindowID);
|
||||
mozilla::dom::BrowsingContext* aParentContext,
|
||||
nsIURI* aChildURI, const nsAString& aPolicy,
|
||||
uint64_t aInnerWindowID);
|
||||
|
||||
static bool CheckOneFrameOptionsPolicy(nsIHttpChannel* aHttpChannel,
|
||||
const nsAString& aPolicy);
|
||||
|
|
Загрузка…
Ссылка в новой задаче