Commit 94bd5356 authored by eseidel's avatar eseidel

2007-01-18 Eric Seidel <eric@webkit.org>

        Reviewed by bdash.

        No test needed, removed bogus debug-only ASSERT.

        * rendering/RenderSVGContainer.cpp:
        (WebCore::RenderSVGContainer::paint):


git-svn-id: svn://svn.chromium.org/blink/trunk@18964 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 01c2b8cb
2007-01-18 Eric Seidel <eric@webkit.org>
Reviewed by bdash.
No test needed, removed bogus debug-only ASSERT.
* rendering/RenderSVGContainer.cpp:
(WebCore::RenderSVGContainer::paint):
2007-01-18 Alice Liu <alice.liu@apple.com>
Build Fix
......
......@@ -161,9 +161,10 @@ void RenderSVGContainer::paint(PaintInfo& paintInfo, int parentX, int parentY)
paintInfo.context->concatCTM(AffineTransform().translate(origin.x(), origin.y()));
parentX = parentY = 0;
} else {
// Only the root <svg> element should need any translations using the HTML system
ASSERT(parentX == 0);
ASSERT(parentY == 0);
// Only the root <svg> element should need any translations using the HTML/CSS system
// parentX, parentY are also non-zero for first-level kids of these
// CSS-transformed <svg> root-elements (due to RenderBox::paint) for any other element
// they should be 0. m_x, m_y should always be 0 for non-root svg containers
ASSERT(m_x == 0);
ASSERT(m_y == 0);
}
......
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