Bug 1084589 - Fix a Yosemite topcrasher. r=gijskruitbosch

This commit is contained in:
Steven Michaud 2014-10-17 19:16:04 -05:00
parent 1a86feed43
commit cf3e24e788

View File

@ -874,7 +874,7 @@ GetAquaAppearance()
static void
RenderWithCoreUI(CGRect aRect, CGContextRef cgContext, NSDictionary* aOptions)
{
static id appearance = GetAquaAppearance();
id appearance = GetAquaAppearance();
if (aRect.size.width * aRect.size.height > BITMAP_MAX_AREA) {
return;