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:
Adam Barth 2015-03-02 13:03:36 -08:00
parent d842eb9500
commit ff51816b5a

View File

@ -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());