diff options
author | Jeff Muizelaar <jmuizelaar@mozilla.com> | 2018-03-02 15:56:02 -0500 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-03-14 12:34:36 +0100 |
commit | 5b69e05939c7fd3f917e2dd0f399774b3b15c886 (patch) | |
tree | c5a409912c0ce8d0e5a26c12eaa092b25ec0bc26 /dom/canvas/DocumentRendererParent.h | |
parent | 2d689a1bc3454e42a241724ad72007a5ee215742 (diff) | |
download | UXP-5b69e05939c7fd3f917e2dd0f399774b3b15c886.tar UXP-5b69e05939c7fd3f917e2dd0f399774b3b15c886.tar.gz UXP-5b69e05939c7fd3f917e2dd0f399774b3b15c886.tar.lz UXP-5b69e05939c7fd3f917e2dd0f399774b3b15c886.tar.xz UXP-5b69e05939c7fd3f917e2dd0f399774b3b15c886.zip |
Bug 1438425 - Delete DocumentRenderer. r=jesup, a=RyanVM
It is unused.
--HG--
extra : histedit_source : b7af9f250f0330f90547114184873ae9971f20fc
Diffstat (limited to 'dom/canvas/DocumentRendererParent.h')
-rw-r--r-- | dom/canvas/DocumentRendererParent.h | 44 |
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 |