Bug 1210180 - Force the view to update when we recycle a Vibrancy view. r=mstange

--HG--
extra : commitid : 8EmCjAdcxhE
extra : rebase_source : cf01abb7caafa37e49b9a5d3987bd3b9097f3001
This commit is contained in:
Benoit Girard 2015-10-05 10:54:29 -04:00
parent 48bc6c454b
commit 13e50db20e

View File

@ -36,6 +36,7 @@ VibrancyManager::UpdateVibrantRegion(VibrancyType aType, const nsIntRegion& aReg
if (i < viewsToRecycle.Length()) {
view = viewsToRecycle[i];
[view setFrame:rect];
[view setNeedsDisplay:YES];
} else {
view = CreateEffectView(aType, rect);
[mContainerView addSubview:view];