summaryrefslogtreecommitdiffstats
path: root/dom/canvas/DocumentRendererParent.h
diff options
context:
space:
mode:
authorJeff Muizelaar <jmuizelaar@mozilla.com>2018-03-07 11:54:01 -0500
committerwolfbeast <mcwerewolf@gmail.com>2018-03-14 12:42:38 +0100
commit07148526de8085dc4e36169560805d541d272624 (patch)
treee61b5e06473295d09fcb9517d788ecc7fedeab57 /dom/canvas/DocumentRendererParent.h
parentece34cca42e69ed882694a0e735c83a1ab61550e (diff)
downloadUXP-07148526de8085dc4e36169560805d541d272624.tar
UXP-07148526de8085dc4e36169560805d541d272624.tar.gz
UXP-07148526de8085dc4e36169560805d541d272624.tar.lz
UXP-07148526de8085dc4e36169560805d541d272624.tar.xz
UXP-07148526de8085dc4e36169560805d541d272624.zip
Bug 1438425 - Delete DocumentRenderer. r=jesup, r=jgilbert, a=RyanVM
It is unused.
Diffstat (limited to 'dom/canvas/DocumentRendererParent.h')
-rw-r--r--dom/canvas/DocumentRendererParent.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/dom/canvas/DocumentRendererParent.h b/dom/canvas/DocumentRendererParent.h
deleted file mode 100644
index 432aa8264..000000000
--- a/dom/canvas/DocumentRendererParent.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-#ifndef mozilla_dom_DocumentRendererParent
-#define mozilla_dom_DocumentRendererParent
-
-#include "mozilla/ipc/PDocumentRendererParent.h"
-#include "nsCOMPtr.h"
-#include "nsString.h"
-#include "gfxContext.h"
-
-class nsICanvasRenderingContextInternal;
-
-namespace mozilla {
-namespace ipc {
-
-class DocumentRendererParent : public PDocumentRendererParent
-{
-public:
- DocumentRendererParent();
- virtual ~DocumentRendererParent();
-
- void SetCanvasContext(nsICanvasRenderingContextInternal* aCanvas,
- gfxContext* ctx);
- void DrawToCanvas(const nsIntSize& renderedSize,
- const nsCString& aData);
-
- virtual void ActorDestroy(ActorDestroyReason aWhy) override;
-
- virtual bool Recv__delete__(const nsIntSize& renderedSize,
- const nsCString& data) override;
-
-private:
- nsCOMPtr<nsICanvasRenderingContextInternal> mCanvas;
- RefPtr<gfxContext> mCanvasContext;
-
- DISALLOW_EVIL_CONSTRUCTORS(DocumentRendererParent);
-};
-
-} // namespace ipc
-} // namespace mozilla
-
-#endif