| Index: Source/core/rendering/svg/RenderSVGImage.cpp
|
| ===================================================================
|
| --- Source/core/rendering/svg/RenderSVGImage.cpp (revision 164791)
|
| +++ Source/core/rendering/svg/RenderSVGImage.cpp (working copy)
|
| @@ -139,11 +139,11 @@
|
| GraphicsContextStateSaver stateSaver(*childPaintInfo.context);
|
| childPaintInfo.applyTransform(m_localTransform);
|
|
|
| - if (childPaintInfo.phase == PaintPhaseForeground) {
|
| + if (childPaintInfo.phase == PaintPhaseForeground && !m_objectBoundingBox.isEmpty()) {
|
| SVGRenderingContext renderingContext(this, childPaintInfo);
|
|
|
| if (renderingContext.isRenderingPrepared()) {
|
| - if (style()->svgStyle()->bufferedRendering() == BR_STATIC && renderingContext.bufferForeground(m_bufferedForeground))
|
| + if (style()->svgStyle()->bufferedRendering() == BR_STATIC && renderingContext.bufferForeground(m_bufferedForeground))
|
| return;
|
|
|
| paintForeground(childPaintInfo);
|
|
|