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
a10183dff5
commit
26217245c9
@ -16,8 +16,8 @@ class nsMediaPluginReader : public nsBuiltinDecoderReader
|
||||
{
|
||||
nsCString mType;
|
||||
MPAPI::Decoder *mPlugin;
|
||||
PRBool mHasAudio;
|
||||
PRBool mHasVideo;
|
||||
bool mHasAudio;
|
||||
bool mHasVideo;
|
||||
nsIntRect mPicture;
|
||||
nsIntSize mInitialFrame;
|
||||
int64_t mVideoSeekTimeUs;
|
||||
|
@ -198,7 +198,7 @@ private:
|
||||
OptionalThebesBuffer mROFrontBuffer;
|
||||
nsIntRegion mFrontUpdatedRegion;
|
||||
nsIntRegion mFrontValidRegion;
|
||||
PRPackedBool mFrontAndBackBufferDiffer;
|
||||
bool mFrontAndBackBufferDiffer;
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -1014,7 +1014,7 @@ GetTranslationForThebesLayer(ThebesLayer* aLayer)
|
||||
|
||||
static const double SUBPIXEL_OFFSET_EPSILON = 0.02;
|
||||
|
||||
static PRBool
|
||||
static bool
|
||||
SubpixelOffsetFuzzyEqual(gfxPoint aV1, gfxPoint aV2)
|
||||
{
|
||||
return fabs(aV2.x - aV1.x) < SUBPIXEL_OFFSET_EPSILON &&
|
||||
|
Loading…
Reference in New Issue
Block a user