| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Apple Computer, Inc. | 2 * Copyright (C) 2006 Apple Computer, Inc. |
| 3 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org> | 3 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org> |
| 4 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> | 4 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> |
| 5 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> | 5 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> |
| 6 * Copyright (C) 2008 Rob Buis <buis@kde.org> | 6 * Copyright (C) 2008 Rob Buis <buis@kde.org> |
| 7 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> | 7 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> |
| 8 * Copyright (C) Research In Motion Limited 2010-2012. All rights reserved. | 8 * Copyright (C) Research In Motion Limited 2010-2012. All rights reserved. |
| 9 * Copyright (C) 2012 Google Inc. | 9 * Copyright (C) 2012 Google Inc. |
| 10 * | 10 * |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 const LayoutSVGText* findTextRoot(const LayoutObject* start) | 59 const LayoutSVGText* findTextRoot(const LayoutObject* start) |
| 60 { | 60 { |
| 61 ASSERT(start); | 61 ASSERT(start); |
| 62 for (; start; start = start->parent()) { | 62 for (; start; start = start->parent()) { |
| 63 if (start->isSVGText()) | 63 if (start->isSVGText()) |
| 64 return toLayoutSVGText(start); | 64 return toLayoutSVGText(start); |
| 65 } | 65 } |
| 66 return nullptr; | 66 return nullptr; |
| 67 } | 67 } |
| 68 | 68 |
| 69 } | 69 } // namespace |
| 70 | 70 |
| 71 LayoutSVGText::LayoutSVGText(SVGTextElement* node) | 71 LayoutSVGText::LayoutSVGText(SVGTextElement* node) |
| 72 : LayoutSVGBlock(node) | 72 : LayoutSVGBlock(node) |
| 73 , m_needsReordering(false) | 73 , m_needsReordering(false) |
| 74 , m_needsPositioningValuesUpdate(false) | 74 , m_needsPositioningValuesUpdate(false) |
| 75 , m_needsTransformUpdate(true) | 75 , m_needsTransformUpdate(true) |
| 76 , m_needsTextMetricsUpdate(false) | 76 , m_needsTextMetricsUpdate(false) |
| 77 { | 77 { |
| 78 } | 78 } |
| 79 | 79 |
| (...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 if (reason == PaintInvalidationDelayedFull) | 529 if (reason == PaintInvalidationDelayedFull) |
| 530 paintInvalidationState.pushDelayedPaintInvalidationTarget(*this); | 530 paintInvalidationState.pushDelayedPaintInvalidationTarget(*this); |
| 531 | 531 |
| 532 ForceHorriblySlowRectMapping slowRectMapping(&paintInvalidationState); | 532 ForceHorriblySlowRectMapping slowRectMapping(&paintInvalidationState); |
| 533 PaintInvalidationState childTreeWalkState(paintInvalidationState, *this, pai
ntInvalidationState.paintInvalidationContainer()); | 533 PaintInvalidationState childTreeWalkState(paintInvalidationState, *this, pai
ntInvalidationState.paintInvalidationContainer()); |
| 534 if (reason == PaintInvalidationSVGResourceChange) | 534 if (reason == PaintInvalidationSVGResourceChange) |
| 535 childTreeWalkState.setForceSubtreeInvalidationWithinContainer(); | 535 childTreeWalkState.setForceSubtreeInvalidationWithinContainer(); |
| 536 invalidatePaintOfSubtreesIfNeeded(childTreeWalkState); | 536 invalidatePaintOfSubtreesIfNeeded(childTreeWalkState); |
| 537 } | 537 } |
| 538 | 538 |
| 539 } | 539 } // namespace blink |
| OLD | NEW |