Bug 929513 Part 8: Remove IPDL support for passing gfxSize r=nical

This commit is contained in:
David Zbarsky 2013-10-27 17:53:28 -04:00
Родитель 8023168d6f
Коммит f2e4738722
2 изменённых файлов: 0 добавлений и 22 удалений

Просмотреть файл

@ -29,7 +29,6 @@ include "mozilla/layers/CompositorTypes.h";
using IPC::Principal;
using gfxMatrix;
using gfxSize;
using CSSRect;
using mozilla::layers::FrameMetrics;
using FrameMetrics::ViewID;

Просмотреть файл

@ -119,27 +119,6 @@ struct ParamTraits<gfxPoint3D>
}
};
template<>
struct ParamTraits<gfxSize>
{
typedef gfxSize paramType;
static void Write(Message* aMsg, const paramType& aParam)
{
WriteParam(aMsg, aParam.width);
WriteParam(aMsg, aParam.height);
}
static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
{
if (ReadParam(aMsg, aIter, &aResult->width) &&
ReadParam(aMsg, aIter, &aResult->height))
return true;
return false;
}
};
template<>
struct ParamTraits<gfxRect>
{