зеркало из https://github.com/mozilla/gecko-dev.git
Bug 918651 - part 7b - fix Layers{Surfaces,Messages}.ipdlh header bootlegging; rs=ehsan
LayersSurfaces.ipdlh declares itself as |using| a bunch of types that only get used in LayersMessages.ipdlh. Since intelligent include-placing recognizes that these types are not used in LayersSurfaces.h, the necessary header lines get left out of the generated LayersSurfaces.h, leading to compilation problems on some platforms. Fix this by moving the appropriate lines to LayersMessages.ipdlh.
This commit is contained in:
Родитель
05e020c835
Коммит
91725bfec2
|
@ -21,8 +21,12 @@ include "mozilla/GfxMessageUtils.h";
|
|||
include "ImageLayers.h";
|
||||
include "mozilla/layers/CompositorTypes.h";
|
||||
|
||||
using mozilla::GraphicsFilterType from "mozilla/GfxMessageUtils.h";
|
||||
using struct gfxRGBA from "gfxColor.h";
|
||||
using struct gfxPoint3D from "gfxPoint3D.h";
|
||||
using class gfx3DMatrix from "gfx3DMatrix.h";
|
||||
using nscoord from "nsCoord.h";
|
||||
using struct nsIntPoint from "nsPoint.h";
|
||||
using struct nsRect from "nsRect.h";
|
||||
using struct nsPoint from "nsPoint.h";
|
||||
using class mozilla::TimeDuration from "mozilla/TimeStamp.h";
|
||||
|
@ -36,6 +40,7 @@ using mozilla::LayerPoint from "Units.h";
|
|||
using mozilla::LayerRect from "Units.h";
|
||||
using mozilla::layers::ScaleMode from "mozilla/layers/LayersTypes.h";
|
||||
using mozilla::layers::DiagnosticTypes from "mozilla/layers/CompositorTypes.h";
|
||||
using struct mozilla::layers::FrameMetrics from "FrameMetrics.h";
|
||||
|
||||
namespace mozilla {
|
||||
namespace layers {
|
||||
|
|
|
@ -8,16 +8,11 @@ include "gfxipc/ShadowLayerUtils.h";
|
|||
include "mozilla/gfx/Types.h";
|
||||
include "nsRegion.h";
|
||||
|
||||
using class gfx3DMatrix from "gfx3DMatrix.h";
|
||||
using gfxIntSize from "nsSize.h";
|
||||
using struct gfxPoint from "gfxPoint.h";
|
||||
using struct gfxRGBA from "gfxColor.h";
|
||||
using struct nsIntPoint from "nsPoint.h";
|
||||
using struct nsIntRect from "nsRect.h";
|
||||
using nsIntRegion from "nsRegion.h";
|
||||
using struct nsIntSize from "nsSize.h";
|
||||
using mozilla::GraphicsFilterType from "mozilla/GfxMessageUtils.h";
|
||||
using struct mozilla::layers::FrameMetrics from "FrameMetrics.h";
|
||||
using struct mozilla::layers::MagicGrallocBufferHandle from "gfxipc/ShadowLayerUtils.h";
|
||||
using struct mozilla::layers::SurfaceDescriptorX11 from "gfxipc/ShadowLayerUtils.h";
|
||||
using struct mozilla::null_t from "ipc/IPCMessageUtils.h";
|
||||
|
|
Загрузка…
Ссылка в новой задаче