mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 892966 - Take a reference to the CGContext when constructing a DrawTargetCG from one. r=jrmuizel
This commit is contained in:
parent
4d9dd85f2d
commit
704e428266
@ -1034,6 +1034,7 @@ DrawTargetCG::Init(CGContextRef cgContext, const IntSize &aSize)
|
||||
mSize = aSize;
|
||||
|
||||
mCg = cgContext;
|
||||
CGContextRetain(mCg);
|
||||
|
||||
mData = nullptr;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user