mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
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:
parent
48bc6c454b
commit
13e50db20e
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user