Bug 1239589 - Change nsBaseWidget::mBounds to a LayoutDeviceIntRect. r=kats.

This patch removes dozens of ToUnknown/FromUnknown conversions and doesn't add
any new ones, which is nice. It also removes UntypedDevPixelsToCocoaPoints(),
which is no longer needed.
This commit is contained in:
Nicholas Nethercote
2015-11-22 20:32:29 -08:00
parent 630c0e6ebc
commit da19ce6e70
18 changed files with 68 additions and 95 deletions

View File

@@ -64,7 +64,7 @@ PluginWidgetProxy::Create(nsIWidget* aParent,
BaseCreate(aParent, aInitData);
mBounds = aRect.ToUnknownRect();
mBounds = aRect;
mEnabled = true;
mVisible = true;