diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-06 19:47:29 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-02-06 19:47:29 -0500 |
commit | 6da9e3c6b9aa7e0be236a6f5c4f9498c25a08c3c (patch) | |
tree | f5e4fdfaa9be98d15ee7e5e0d8265ed461dfd55f /dom/base/nsDocument.cpp | |
parent | 5483f807c2663be8c63caf8d59ee151b3ef499d3 (diff) | |
download | uxp-6da9e3c6b9aa7e0be236a6f5c4f9498c25a08c3c.tar.gz |
Issue #1395 - Remove FlyWeb Service
Diffstat (limited to 'dom/base/nsDocument.cpp')
-rw-r--r-- | dom/base/nsDocument.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/dom/base/nsDocument.cpp b/dom/base/nsDocument.cpp index 293e48eb0d..b05bf827bf 100644 --- a/dom/base/nsDocument.cpp +++ b/dom/base/nsDocument.cpp @@ -166,7 +166,6 @@ #include "mozilla/dom/HTMLIFrameElement.h" #include "mozilla/dom/HTMLImageElement.h" #include "mozilla/dom/MediaSource.h" -#include "mozilla/dom/FlyWebService.h" #include "mozAutoDocUpdate.h" #include "nsGlobalWindow.h" @@ -8453,13 +8452,6 @@ nsDocument::CanSavePresentation(nsIRequest *aNewRequest) return false; } - // Don't save presentation if there are active FlyWeb connections or FlyWeb - // servers. - FlyWebService* flyWebService = FlyWebService::GetExisting(); - if (flyWebService && flyWebService->HasConnectionOrServer(win->WindowID())) { - return false; - } - if (mSubDocuments) { for (auto iter = mSubDocuments->Iter(); !iter.Done(); iter.Next()) { auto entry = static_cast<SubDocMapEntry*>(iter.Get()); |