mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1035244. Initialize canvas context width/height to 0, 0. r=bas
This fixes a ~50ms Phone and Contacts launch regression that's not really understood. --HG-- extra : rebase_source : df7cfefb53f4caa7a3719e02a8f399539d5dce02
This commit is contained in:
parent
fe3d9a39ca
commit
1c4d17ad6d
@ -561,7 +561,7 @@ DrawTarget* CanvasRenderingContext2D::sErrorTarget = nullptr;
|
||||
CanvasRenderingContext2D::CanvasRenderingContext2D()
|
||||
: mForceSoftware(false)
|
||||
// these are the default values from the Canvas spec
|
||||
, mWidth(300), mHeight(150)
|
||||
, mWidth(0), mHeight(0)
|
||||
, mZero(false), mOpaque(false)
|
||||
, mResetLayer(true)
|
||||
, mIPC(false)
|
||||
|
Loading…
Reference in New Issue
Block a user