OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
5 * Copyright (C) 2009 Google, Inc. | 5 * Copyright (C) 2009 Google, Inc. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 void RenderSVGViewportContainer::paint(PaintInfo& paintInfo, const LayoutPoint&
paintOffset) | 106 void RenderSVGViewportContainer::paint(PaintInfo& paintInfo, const LayoutPoint&
paintOffset) |
107 { | 107 { |
108 ASSERT(element()); | 108 ASSERT(element()); |
109 // An empty viewBox disables rendering. | 109 // An empty viewBox disables rendering. |
110 if (isSVGSVGElement(*element()) && toSVGSVGElement(*element()).hasEmptyViewB
ox()) | 110 if (isSVGSVGElement(*element()) && toSVGSVGElement(*element()).hasEmptyViewB
ox()) |
111 return; | 111 return; |
112 | 112 |
113 RenderSVGContainer::paint(paintInfo, paintOffset); | 113 RenderSVGContainer::paint(paintInfo, paintOffset); |
114 } | 114 } |
115 | 115 |
| 116 void RenderSVGViewportContainer::clearPaintInvalidationState() |
| 117 { |
| 118 ASSERT(!m_needsTransformUpdate); |
| 119 m_didTransformToRootUpdate = false; |
116 } | 120 } |
| 121 |
| 122 } |
OLD | NEW |