Bug 1349418 - Remove checkerboarding code and just use an opaque background color behind root scroll frames. r=kats
This commit is contained in:
@@ -44,13 +44,6 @@ public:
|
||||
// All set methods return true if values changed, false otherwise.
|
||||
//
|
||||
|
||||
bool SetLayerBounds(const gfx::IntRect& aLayerBounds) {
|
||||
if (mLayerBounds.IsEqualEdges(aLayerBounds)) {
|
||||
return false;
|
||||
}
|
||||
mLayerBounds = aLayerBounds;
|
||||
return true;
|
||||
}
|
||||
bool SetPostScale(float aXScale, float aYScale) {
|
||||
if (mPostXScale == aXScale && mPostYScale == aYScale) {
|
||||
return false;
|
||||
@@ -174,9 +167,6 @@ public:
|
||||
// Getters.
|
||||
//
|
||||
|
||||
const gfx::IntRect& LayerBounds() const {
|
||||
return mLayerBounds;
|
||||
}
|
||||
float PostXScale() const {
|
||||
return mPostXScale;
|
||||
}
|
||||
@@ -244,8 +234,7 @@ public:
|
||||
}
|
||||
|
||||
bool operator ==(const SimpleLayerAttributes& aOther) const {
|
||||
return mLayerBounds == aOther.mLayerBounds &&
|
||||
mTransform == aOther.mTransform &&
|
||||
return mTransform == aOther.mTransform &&
|
||||
mTransformIsPerspective == aOther.mTransformIsPerspective &&
|
||||
mScrolledClip == aOther.mScrolledClip &&
|
||||
mPostXScale == aOther.mPostXScale &&
|
||||
@@ -262,7 +251,6 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
gfx::IntRect mLayerBounds;
|
||||
gfx::Matrix4x4 mTransform;
|
||||
bool mTransformIsPerspective;
|
||||
Maybe<LayerClip> mScrolledClip;
|
||||
|
||||
Reference in New Issue
Block a user