From 5fb0032a5109ef7d922daaf7c123e6c4b96f17ca Mon Sep 17 00:00:00 2001 From: Jorg K Date: Sun, 13 Oct 2019 00:07:50 +0000 Subject: [PATCH] Bug 1588065 - Fix namespace issues in nsDocShellLoadState.h. r=mattwoodrow Differential Revision: https://phabricator.services.mozilla.com/D49063 --HG-- extra : moz-landing-system : lando --- docshell/base/nsDocShellLoadState.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docshell/base/nsDocShellLoadState.h b/docshell/base/nsDocShellLoadState.h index 66ce7503b89f..b5a60b3108aa 100644 --- a/docshell/base/nsDocShellLoadState.h +++ b/docshell/base/nsDocShellLoadState.h @@ -200,14 +200,14 @@ class nsDocShellLoadState final { void SetOriginalURIString(const nsCString& aOriginalURI) { mOriginalURIString.emplace(aOriginalURI); } - const Maybe& GetOriginalURIString() const { + const mozilla::Maybe& GetOriginalURIString() const { return mOriginalURIString; } void SetCancelContentJSEpoch(int32_t aCancelEpoch) { mCancelContentJSEpoch.emplace(aCancelEpoch); } - const Maybe& GetCancelContentJSEpoch() const { + const mozilla::Maybe& GetCancelContentJSEpoch() const { return mCancelContentJSEpoch; } @@ -361,11 +361,11 @@ class nsDocShellLoadState final { // An optional string representation of mURI, before any // fixups were applied, so that we can send it to a search // engine service if needed. - Maybe mOriginalURIString; + mozilla::Maybe mOriginalURIString; // An optional value to pass to nsIDocShell::setCancelJSEpoch // when initiating the load. - Maybe mCancelContentJSEpoch; + mozilla::Maybe mCancelContentJSEpoch; }; #endif /* nsDocShellLoadState_h__ */