From 1e0a29a023d11d9054f40e3dd888ef82b3414b88 Mon Sep 17 00:00:00 2001 From: Nicolas Silva Date: Mon, 28 Apr 2014 13:29:13 +0200 Subject: [PATCH] Bug 997699 - fixup some #includes of ipdl actors in layers. r=bjacob --- gfx/layers/client/CompositableClient.cpp | 1 + gfx/layers/client/CompositableClient.h | 3 +-- gfx/layers/client/TextureClient.cpp | 1 + gfx/layers/client/TextureClient.h | 1 - gfx/layers/composite/CompositableHost.cpp | 1 + gfx/layers/composite/CompositableHost.h | 2 +- 6 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gfx/layers/client/CompositableClient.cpp b/gfx/layers/client/CompositableClient.cpp index 7302a98b6927..af370c748ef6 100644 --- a/gfx/layers/client/CompositableClient.cpp +++ b/gfx/layers/client/CompositableClient.cpp @@ -10,6 +10,7 @@ #include "mozilla/layers/TextureClient.h" // for TextureClient, etc #include "mozilla/layers/TextureClientOGL.h" #include "mozilla/mozalloc.h" // for operator delete, etc +#include "mozilla/layers/PCompositableChild.h" #ifdef XP_WIN #include "gfxWindowsPlatform.h" // for gfxWindowsPlatform #include "mozilla/layers/TextureD3D11.h" diff --git a/gfx/layers/client/CompositableClient.h b/gfx/layers/client/CompositableClient.h index 728fae2e814e..74c58ad9415b 100644 --- a/gfx/layers/client/CompositableClient.h +++ b/gfx/layers/client/CompositableClient.h @@ -14,7 +14,6 @@ #include "mozilla/gfx/Types.h" // for SurfaceFormat #include "mozilla/layers/CompositorTypes.h" #include "mozilla/layers/LayersTypes.h" // for LayersBackend -#include "mozilla/layers/PCompositableChild.h" // for PCompositableChild #include "nsISupportsImpl.h" // for MOZ_COUNT_CTOR, etc namespace mozilla { @@ -28,7 +27,7 @@ class CompositableForwarder; class CompositableChild; class SurfaceDescriptor; class TextureClientData; - +class PCompositableChild; /** * CompositableClient manages the texture-specific logic for composite layers, * independently of the layer. It is the content side of a CompositableClient/ diff --git a/gfx/layers/client/TextureClient.cpp b/gfx/layers/client/TextureClient.cpp index 59937bcd5c03..cdd1bdff9478 100644 --- a/gfx/layers/client/TextureClient.cpp +++ b/gfx/layers/client/TextureClient.cpp @@ -25,6 +25,7 @@ #include "ImageContainer.h" // for PlanarYCbCrImage, etc #include "mozilla/gfx/2D.h" #include "mozilla/layers/TextureClientOGL.h" +#include "mozilla/layers/PTextureChild.h" #ifdef XP_WIN #include "mozilla/layers/TextureD3D9.h" diff --git a/gfx/layers/client/TextureClient.h b/gfx/layers/client/TextureClient.h index 3b7cda7f280f..67954519b33b 100644 --- a/gfx/layers/client/TextureClient.h +++ b/gfx/layers/client/TextureClient.h @@ -22,7 +22,6 @@ #include "mozilla/layers/AtomicRefCountedWithFinalize.h" #include "mozilla/layers/CompositorTypes.h" // for TextureFlags, etc #include "mozilla/layers/LayersSurfaces.h" // for SurfaceDescriptor -#include "mozilla/layers/PTextureChild.h" // for PTextureChild #include "mozilla/mozalloc.h" // for operator delete #include "nsAutoPtr.h" // for nsRefPtr #include "nsCOMPtr.h" // for already_AddRefed diff --git a/gfx/layers/composite/CompositableHost.cpp b/gfx/layers/composite/CompositableHost.cpp index b4445335658d..c721255e1154 100644 --- a/gfx/layers/composite/CompositableHost.cpp +++ b/gfx/layers/composite/CompositableHost.cpp @@ -16,6 +16,7 @@ #include "nsDebug.h" // for NS_WARNING #include "nsISupportsImpl.h" // for MOZ_COUNT_CTOR, etc #include "gfxPlatform.h" // for gfxPlatform +#include "mozilla/layers/PCompositableParent.h" namespace mozilla { namespace layers { diff --git a/gfx/layers/composite/CompositableHost.h b/gfx/layers/composite/CompositableHost.h index a6d285fe9817..2d556da1b827 100644 --- a/gfx/layers/composite/CompositableHost.h +++ b/gfx/layers/composite/CompositableHost.h @@ -18,7 +18,6 @@ #include "mozilla/ipc/ProtocolUtils.h" #include "mozilla/layers/CompositorTypes.h" // for TextureInfo, etc #include "mozilla/layers/LayersTypes.h" // for LayerRenderState, etc -#include "mozilla/layers/PCompositableParent.h" #include "mozilla/layers/TextureHost.h" // for TextureHost #include "mozilla/mozalloc.h" // for operator delete #include "nsCOMPtr.h" // for already_AddRefed @@ -52,6 +51,7 @@ class ISurfaceAllocator; class ThebesBufferData; class TiledLayerComposer; class CompositableParentManager; +class PCompositableParent; struct EffectChain; /**