Skip to content

Commit

Permalink
No bug - minor non-unified build fixes.
Browse files Browse the repository at this point in the history
Differential Revision: https://phabricator.services.mozilla.com/D56305

--HG--
extra : moz-landing-system : lando
  • Loading branch information
emilio committed Dec 8, 2019
1 parent debe573 commit 89af4fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dom/base/FullscreenChange.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,15 @@ 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);
return WrapUnique(
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));
}
Expand Down
7 changes: 5 additions & 2 deletions dom/security/FramingChecker.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#ifndef mozilla_dom_FramingChecker_h
#define mozilla_dom_FramingChecker_h

#include "nsStringFwd.h"

class nsIDocShell;
class nsIChannel;
class nsIHttpChannel;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 89af4fc

Please sign in to comment.