Bug 1357390 - Consistently use uint64_t for the referent id, because that's what it really is. r=mattwoodrow

MozReview-Commit-ID: LPxcElOVrU3

--HG--
extra : rebase_source : 7b5e27fcfd8b13fbe8ed1e34abc98cc43c7e8ae1
This commit is contained in:
Kartikaya Gupta 2017-04-18 08:43:08 -04:00
parent 0e96a7ee95
commit a1ccf6bbaa
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@
#include <map> #include <map>
#include <stdint.h> // for uint32_t, uint64_t, uint8_t #include <stdint.h> // for uint32_t, uint64_t, uint8_t
#include <stdio.h> // for FILE #include <stdio.h> // for FILE
#include <sys/types.h> // for int32_t, int64_t #include <sys/types.h> // for int32_t
#include "FrameMetrics.h" // for FrameMetrics #include "FrameMetrics.h" // for FrameMetrics
#include "Units.h" // for LayerMargin, LayerPoint, ParentLayerIntRect #include "Units.h" // for LayerMargin, LayerPoint, ParentLayerIntRect
#include "gfxContext.h" #include "gfxContext.h"
@ -2865,7 +2865,7 @@ public:
// These getters can be used anytime. // These getters can be used anytime.
virtual RefLayer* AsRefLayer() override { return this; } virtual RefLayer* AsRefLayer() override { return this; }
virtual int64_t GetReferentId() { return mId; } virtual uint64_t GetReferentId() { return mId; }
/** /**
* DRAWING PHASE ONLY * DRAWING PHASE ONLY

View File

@ -285,7 +285,7 @@ struct TextLayerAttributes { IntRect bounds; GlyphArray[] glyphs; uintptr_t
struct ColorLayerAttributes { LayerColor color; IntRect bounds; }; struct ColorLayerAttributes { LayerColor color; IntRect bounds; };
struct CanvasLayerAttributes { SamplingFilter samplingFilter; IntRect bounds; }; struct CanvasLayerAttributes { SamplingFilter samplingFilter; IntRect bounds; };
struct RefLayerAttributes { struct RefLayerAttributes {
int64_t id; uint64_t id;
// TODO: Once bug 1132895 is fixed we shouldn't need to propagate the override // TODO: Once bug 1132895 is fixed we shouldn't need to propagate the override
// explicitly here. // explicitly here.
EventRegionsOverride eventRegionsOverride; EventRegionsOverride eventRegionsOverride;