summaryrefslogtreecommitdiffstats
path: root/dom/ipc/TabParent.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-03-14 12:38:55 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-03-14 12:38:55 +0100
commit302f17e514772770f5555ce939b21b194514ebc3 (patch)
treeaca62ce6a23c2a9b08cfa27987586463aafef760 /dom/ipc/TabParent.cpp
parent959f6d2881edaf7389b439ca69bcf881622d06a2 (diff)
downloadUXP-302f17e514772770f5555ce939b21b194514ebc3.tar
UXP-302f17e514772770f5555ce939b21b194514ebc3.tar.gz
UXP-302f17e514772770f5555ce939b21b194514ebc3.tar.lz
UXP-302f17e514772770f5555ce939b21b194514ebc3.tar.xz
UXP-302f17e514772770f5555ce939b21b194514ebc3.zip
Revert "Bug 1438425 - Delete DocumentRenderer. r=jesup, a=RyanVM"
This reverts commit 5b69e05939c7fd3f917e2dd0f399774b3b15c886.
Diffstat (limited to 'dom/ipc/TabParent.cpp')
-rw-r--r--dom/ipc/TabParent.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/dom/ipc/TabParent.cpp b/dom/ipc/TabParent.cpp
index 8e98de3ce..0df4c1253 100644
--- a/dom/ipc/TabParent.cpp
+++ b/dom/ipc/TabParent.cpp
@@ -28,6 +28,7 @@
#include "mozilla/gfx/GPUProcessManager.h"
#include "mozilla/Hal.h"
#include "mozilla/IMEStateManager.h"
+#include "mozilla/ipc/DocumentRendererParent.h"
#include "mozilla/jsipc/CrossProcessObjectWrappers.h"
#include "mozilla/layers/AsyncDragMetrics.h"
#include "mozilla/layers/InputAPZContext.h"
@@ -956,6 +957,24 @@ TabParent::GetTopLevelDocAccessible() const
return nullptr;
}
+PDocumentRendererParent*
+TabParent::AllocPDocumentRendererParent(const nsRect& documentRect,
+ const gfx::Matrix& transform,
+ const nsString& bgcolor,
+ const uint32_t& renderFlags,
+ const bool& flushLayout,
+ const nsIntSize& renderSize)
+{
+ return new DocumentRendererParent();
+}
+
+bool
+TabParent::DeallocPDocumentRendererParent(PDocumentRendererParent* actor)
+{
+ delete actor;
+ return true;
+}
+
PFilePickerParent*
TabParent::AllocPFilePickerParent(const nsString& aTitle, const int16_t& aMode)
{