mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Images don't appear when they finish loading
RenderImage needs to notify its base class unconditionally so that it will schedule a visual update. This broke in https://codereview.chromium.org/791023006. R=ojan@chromium.org BUG=https://github.com/domokit/mojo/issues/55 Review URL: https://codereview.chromium.org/969863002
This commit is contained in:
parent
d842eb9500
commit
ff51816b5a
@ -109,8 +109,7 @@ void RenderImage::imageChanged(WrappedImagePtr newImage, const IntRect* rect)
|
||||
return;
|
||||
}
|
||||
|
||||
if (hasBoxDecorationBackground())
|
||||
RenderReplaced::imageChanged(newImage, rect);
|
||||
RenderReplaced::imageChanged(newImage, rect);
|
||||
|
||||
ASSERT(isRooted());
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user