зеркало из https://github.com/mozilla/gecko-dev.git
Fixing compile error on OS X with 10.3.9 SDK. r=vlad.
This commit is contained in:
Родитель
a9b9c9b86e
Коммит
bb51d8feee
|
@ -931,7 +931,7 @@ nsCanvasRenderingContext2D::Render(nsIRenderingContext *rc)
|
||||||
NULL);
|
NULL);
|
||||||
CGColorSpaceRef rgb = CGColorSpaceCreateDeviceRGB();
|
CGColorSpaceRef rgb = CGColorSpaceCreateDeviceRGB();
|
||||||
img = CGImageCreate (mWidth, mHeight, 8, 32, mWidth * 4, rgb,
|
img = CGImageCreate (mWidth, mHeight, 8, 32, mWidth * 4, rgb,
|
||||||
kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host,
|
(CGImageAlphaInfo)(kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host),
|
||||||
dataProvider, NULL, false, kCGRenderingIntentDefault);
|
dataProvider, NULL, false, kCGRenderingIntentDefault);
|
||||||
CGColorSpaceRelease (rgb);
|
CGColorSpaceRelease (rgb);
|
||||||
CGDataProviderRelease (dataProvider);
|
CGDataProviderRelease (dataProvider);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче