mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 780387 - Part f: Stop using PRBool & PRPackedBool; r=bsmedberg
This commit is contained in:
parent
aa7cd71f5c
commit
a51e9be374
@ -16,8 +16,8 @@ class nsMediaPluginReader : public nsBuiltinDecoderReader
|
|||||||
{
|
{
|
||||||
nsCString mType;
|
nsCString mType;
|
||||||
MPAPI::Decoder *mPlugin;
|
MPAPI::Decoder *mPlugin;
|
||||||
PRBool mHasAudio;
|
bool mHasAudio;
|
||||||
PRBool mHasVideo;
|
bool mHasVideo;
|
||||||
nsIntRect mPicture;
|
nsIntRect mPicture;
|
||||||
nsIntSize mInitialFrame;
|
nsIntSize mInitialFrame;
|
||||||
int64_t mVideoSeekTimeUs;
|
int64_t mVideoSeekTimeUs;
|
||||||
|
@ -198,7 +198,7 @@ private:
|
|||||||
OptionalThebesBuffer mROFrontBuffer;
|
OptionalThebesBuffer mROFrontBuffer;
|
||||||
nsIntRegion mFrontUpdatedRegion;
|
nsIntRegion mFrontUpdatedRegion;
|
||||||
nsIntRegion mFrontValidRegion;
|
nsIntRegion mFrontValidRegion;
|
||||||
PRPackedBool mFrontAndBackBufferDiffer;
|
bool mFrontAndBackBufferDiffer;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1014,7 +1014,7 @@ GetTranslationForThebesLayer(ThebesLayer* aLayer)
|
|||||||
|
|
||||||
static const double SUBPIXEL_OFFSET_EPSILON = 0.02;
|
static const double SUBPIXEL_OFFSET_EPSILON = 0.02;
|
||||||
|
|
||||||
static PRBool
|
static bool
|
||||||
SubpixelOffsetFuzzyEqual(gfxPoint aV1, gfxPoint aV2)
|
SubpixelOffsetFuzzyEqual(gfxPoint aV1, gfxPoint aV2)
|
||||||
{
|
{
|
||||||
return fabs(aV2.x - aV1.x) < SUBPIXEL_OFFSET_EPSILON &&
|
return fabs(aV2.x - aV1.x) < SUBPIXEL_OFFSET_EPSILON &&
|
||||||
|
Loading…
Reference in New Issue
Block a user