diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-06 16:03:39 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-02-06 16:03:39 -0500 |
commit | 5483f807c2663be8c63caf8d59ee151b3ef499d3 (patch) | |
tree | 13b912637e69511529d15676a905e7fe0ef2d169 /dom/ipc/ContentParent.cpp | |
parent | e80e4595b9034fb06592c083c80feb7613ff9518 (diff) | |
download | UXP-5483f807c2663be8c63caf8d59ee151b3ef499d3.tar UXP-5483f807c2663be8c63caf8d59ee151b3ef499d3.tar.gz UXP-5483f807c2663be8c63caf8d59ee151b3ef499d3.tar.lz UXP-5483f807c2663be8c63caf8d59ee151b3ef499d3.tar.xz UXP-5483f807c2663be8c63caf8d59ee151b3ef499d3.zip |
Issue #1390 - Get rid of the Presentation API
Diffstat (limited to 'dom/ipc/ContentParent.cpp')
-rw-r--r-- | dom/ipc/ContentParent.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/dom/ipc/ContentParent.cpp b/dom/ipc/ContentParent.cpp index 97e3a4880..026346b77 100644 --- a/dom/ipc/ContentParent.cpp +++ b/dom/ipc/ContentParent.cpp @@ -51,8 +51,6 @@ #include "mozilla/dom/ServiceWorkerRegistrar.h" #include "mozilla/dom/power/PowerManagerService.h" #include "mozilla/dom/Permissions.h" -#include "mozilla/dom/PresentationParent.h" -#include "mozilla/dom/PPresentationParent.h" #include "mozilla/dom/PushNotifier.h" #include "mozilla/dom/FlyWebPublishedServerIPC.h" #include "mozilla/dom/quota/QuotaManagerService.h" @@ -3106,27 +3104,6 @@ ContentParent::DeallocPStorageParent(PStorageParent* aActor) return true; } -PPresentationParent* -ContentParent::AllocPPresentationParent() -{ - RefPtr<PresentationParent> actor = new PresentationParent(); - return actor.forget().take(); -} - -bool -ContentParent::DeallocPPresentationParent(PPresentationParent* aActor) -{ - RefPtr<PresentationParent> actor = - dont_AddRef(static_cast<PresentationParent*>(aActor)); - return true; -} - -bool -ContentParent::RecvPPresentationConstructor(PPresentationParent* aActor) -{ - return static_cast<PresentationParent*>(aActor)->Init(mChildID); -} - PFlyWebPublishedServerParent* ContentParent::AllocPFlyWebPublishedServerParent(const nsString& name, const FlyWebPublishOptions& params) |