diff options
author | Matt A. Tobin <email@mattatobin.com> | 2021-01-25 18:26:58 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2021-01-25 18:26:58 -0500 |
commit | dd932e001139845ec4c1bb5acbbb2573d62c74e4 (patch) | |
tree | 1eeba4779a8b4b0f0433bdcd829a0a42510e95ad /dom/ipc/TabContext.cpp | |
parent | 874330d4538bd4704730d57fa35fd678c7d6fbf2 (diff) | |
parent | 7702d1f3fa94d77931a1fd76a7b8a3288f98ce60 (diff) | |
download | UXP-dd932e001139845ec4c1bb5acbbb2573d62c74e4.tar UXP-dd932e001139845ec4c1bb5acbbb2573d62c74e4.tar.gz UXP-dd932e001139845ec4c1bb5acbbb2573d62c74e4.tar.lz UXP-dd932e001139845ec4c1bb5acbbb2573d62c74e4.tar.xz UXP-dd932e001139845ec4c1bb5acbbb2573d62c74e4.zip |
Merge branch 'presentation-cleanup'
Diffstat (limited to 'dom/ipc/TabContext.cpp')
-rw-r--r-- | dom/ipc/TabContext.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/dom/ipc/TabContext.cpp b/dom/ipc/TabContext.cpp index 66a279052..b313da0ff 100644 --- a/dom/ipc/TabContext.cpp +++ b/dom/ipc/TabContext.cpp @@ -190,12 +190,6 @@ TabContext::OriginAttributesRef() const return mOriginAttributes; } -const nsAString& -TabContext::PresentationURL() const -{ - return mPresentationURL; -} - UIStateChangeType TabContext::ShowAccelerators() const { @@ -215,8 +209,7 @@ TabContext::SetTabContext(bool aIsMozBrowserElement, mozIApplication* aAppFrameOwnerApp, UIStateChangeType aShowAccelerators, UIStateChangeType aShowFocusRings, - const DocShellOriginAttributes& aOriginAttributes, - const nsAString& aPresentationURL) + const DocShellOriginAttributes& aOriginAttributes) { NS_ENSURE_FALSE(mInitialized, false); @@ -248,7 +241,6 @@ TabContext::SetTabContext(bool aIsMozBrowserElement, mContainingAppId = containingAppId; mOwnApp = aOwnApp; mContainingApp = aAppFrameOwnerApp; - mPresentationURL = aPresentationURL; mShowAccelerators = aShowAccelerators; mShowFocusRings = aShowFocusRings; return true; @@ -261,7 +253,6 @@ TabContext::AsIPCTabContext() const mContainingAppId, mIsMozBrowserElement, mIsPrerendered, - mPresentationURL, mShowAccelerators, mShowFocusRings)); } @@ -285,7 +276,6 @@ MaybeInvalidTabContext::MaybeInvalidTabContext(const IPCTabContext& aParams) bool isPrerendered = false; uint32_t containingAppId = NO_APP_ID; DocShellOriginAttributes originAttributes; - nsAutoString presentationURL; UIStateChangeType showAccelerators = UIStateChangeType_NoChange; UIStateChangeType showFocusRings = UIStateChangeType_NoChange; @@ -348,7 +338,6 @@ MaybeInvalidTabContext::MaybeInvalidTabContext(const IPCTabContext& aParams) isMozBrowserElement = ipcContext.isMozBrowserElement(); isPrerendered = ipcContext.isPrerendered(); containingAppId = ipcContext.frameOwnerAppId(); - presentationURL = ipcContext.presentationURL(); showAccelerators = ipcContext.showAccelerators(); showFocusRings = ipcContext.showFocusRings(); originAttributes = ipcContext.originAttributes(); @@ -395,8 +384,7 @@ MaybeInvalidTabContext::MaybeInvalidTabContext(const IPCTabContext& aParams) containingApp, showAccelerators, showFocusRings, - originAttributes, - presentationURL); + originAttributes); if (!rv) { mInvalidReason = "Couldn't initialize TabContext."; } |