Commit 0fd84c8d authored by hyatt's avatar hyatt

Fix tiny PLT regression. Don't examine the border/background data for...

        Fix tiny PLT regression.  Don't examine the border/background data for RenderImage when images change
        unless we actually have a border/background.

        Reviewed by Brady

        * rendering/RenderImage.cpp:
        (WebCore::RenderImage::imageChanged):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20264 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 999e46ff
2007-03-17 David Hyatt <hyatt@apple.com>
Fix tiny PLT regression. Don't examine the border/background data for RenderImage when images change
unless we actually have a border/background.
Reviewed by Brady
* rendering/RenderImage.cpp:
(WebCore::RenderImage::imageChanged):
2007-03-17 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Sam Weinig.
......
......@@ -128,7 +128,9 @@ void RenderImage::imageChanged(CachedImage* newImage)
if (documentBeingDestroyed())
return;
RenderReplaced::imageChanged(newImage);
if (hasBoxDecorations())
RenderReplaced::imageChanged(newImage);
if (newImage != m_cachedImage)
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment