Bug 641426. Part 3: Convert gfxRect::pos/size to x/y/width/height. r=joe,sr=cjones
This commit is contained in:
@@ -344,7 +344,7 @@ public:
|
||||
gfxRect snap(0, 0, 0, 0);
|
||||
if (mContainer) {
|
||||
gfxIntSize size = mContainer->GetCurrentSize();
|
||||
snap.size = gfxSize(size.width, size.height);
|
||||
snap.SizeTo(gfxSize(size.width, size.height));
|
||||
}
|
||||
// Snap our local transform first, and snap the inherited transform as well.
|
||||
// This makes our snapping equivalent to what would happen if our content
|
||||
|
||||
Reference in New Issue
Block a user