mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 765156: Property Animator should have null check. [r=wesj]
--HG-- extra : rebase_source : e4f6b8cdd90d047b06a24984b75fde58c1aa364b
This commit is contained in:
parent
733e14c9de
commit
83714edac6
@ -141,6 +141,9 @@ public class PropertyAnimator extends TimerTask {
|
||||
}
|
||||
|
||||
private void invalidate(final ElementHolder element, final int delta) {
|
||||
if (element == null || element.view == null)
|
||||
return;
|
||||
|
||||
// Post the layout changes on the view's UI thread.
|
||||
element.view.getHandler().post(new Runnable() {
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user