提交 ff51816b 编写于 作者: A Adam Barth

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
上级 d842eb95
......@@ -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());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册