Bug 892966 - Take a reference to the CGContext when constructing a DrawTargetCG from one. r=jrmuizel

This commit is contained in:
Matt Woodrow 2013-07-12 17:19:27 -04:00
parent 4d9dd85f2d
commit 704e428266

View File

@ -1034,6 +1034,7 @@ DrawTargetCG::Init(CGContextRef cgContext, const IntSize &aSize)
mSize = aSize;
mCg = cgContext;
CGContextRetain(mCg);
mData = nullptr;