| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 3 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 4 * Copyright 2014 The Chromium Authors. All rights reserved. | 4 * Copyright 2014 The Chromium Authors. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 SkPictureBuilder pictureBuilder(bounds); | 193 SkPictureBuilder pictureBuilder(bounds); |
| 194 | 194 |
| 195 const LayoutSVGResourceContainer* patternLayoutObject = resolveContentElemen
t(); | 195 const LayoutSVGResourceContainer* patternLayoutObject = resolveContentElemen
t(); |
| 196 ASSERT(patternLayoutObject && !patternLayoutObject->needsLayout()); | 196 ASSERT(patternLayoutObject && !patternLayoutObject->needsLayout()); |
| 197 | 197 |
| 198 SubtreeContentTransformScope contentTransformScope(contentTransform); | 198 SubtreeContentTransformScope contentTransformScope(contentTransform); |
| 199 | 199 |
| 200 { | 200 { |
| 201 TransformRecorder transformRecorder(pictureBuilder.context(), *patternLa
youtObject, tileTransform); | 201 TransformRecorder transformRecorder(pictureBuilder.context(), *patternLa
youtObject, tileTransform); |
| 202 for (LayoutObject* child = patternLayoutObject->firstChild(); child; chi
ld = child->nextSibling()) | 202 for (LayoutObject* child = patternLayoutObject->firstChild(); child; chi
ld = child->nextSibling()) |
| 203 SVGPaintContext::paintSubtree(&pictureBuilder.context(), child); | 203 SVGPaintContext::paintSubtree(pictureBuilder.context(), child); |
| 204 } | 204 } |
| 205 | 205 |
| 206 return pictureBuilder.endRecording(); | 206 return pictureBuilder.endRecording(); |
| 207 } | 207 } |
| 208 | 208 |
| 209 } | 209 } |
| OLD | NEW |