Bug 780387 - Part f: Stop using PRBool & PRPackedBool; r=bsmedberg

This commit is contained in:
Ms2ger 2012-08-09 09:10:13 +02:00
parent aa7cd71f5c
commit a51e9be374
3 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -198,7 +198,7 @@ private:
OptionalThebesBuffer mROFrontBuffer; OptionalThebesBuffer mROFrontBuffer;
nsIntRegion mFrontUpdatedRegion; nsIntRegion mFrontUpdatedRegion;
nsIntRegion mFrontValidRegion; nsIntRegion mFrontValidRegion;
PRPackedBool mFrontAndBackBufferDiffer; bool mFrontAndBackBufferDiffer;
}; };
} }

View File

@ -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 &&