Bug 641426. Part 3: Convert gfxRect::pos/size to x/y/width/height. r=joe,sr=cjones

This commit is contained in:
Robert O'Callahan
2011-04-19 15:07:21 +12:00
parent 87f10dee61
commit fdc41c7a5a
16 changed files with 162 additions and 166 deletions

View File

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