| 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 25 matching lines...) Expand all Loading... |
| 36 #include "core/layout/svg/LayoutSVGInline.h" | 36 #include "core/layout/svg/LayoutSVGInline.h" |
| 37 #include "core/layout/svg/LayoutSVGInlineText.h" | 37 #include "core/layout/svg/LayoutSVGInlineText.h" |
| 38 #include "core/layout/svg/LayoutSVGRoot.h" | 38 #include "core/layout/svg/LayoutSVGRoot.h" |
| 39 #include "core/layout/svg/SVGLayoutSupport.h" | 39 #include "core/layout/svg/SVGLayoutSupport.h" |
| 40 #include "core/layout/svg/SVGResourcesCache.h" | 40 #include "core/layout/svg/SVGResourcesCache.h" |
| 41 #include "core/layout/svg/SVGTextLayoutAttributesBuilder.h" | 41 #include "core/layout/svg/SVGTextLayoutAttributesBuilder.h" |
| 42 #include "core/layout/svg/line/SVGRootInlineBox.h" | 42 #include "core/layout/svg/line/SVGRootInlineBox.h" |
| 43 #include "core/paint/SVGTextPainter.h" | 43 #include "core/paint/SVGTextPainter.h" |
| 44 #include "core/style/ShadowList.h" | 44 #include "core/style/ShadowList.h" |
| 45 #include "core/svg/SVGTextElement.h" | 45 #include "core/svg/SVGTextElement.h" |
| 46 #include "platform/FloatConversion.h" | |
| 47 #include "platform/geometry/FloatQuad.h" | 46 #include "platform/geometry/FloatQuad.h" |
| 48 | 47 |
| 49 namespace blink { | 48 namespace blink { |
| 50 | 49 |
| 51 namespace { | 50 namespace { |
| 52 | 51 |
| 53 const LayoutSVGText* findTextRoot(const LayoutObject* start) | 52 const LayoutSVGText* findTextRoot(const LayoutObject* start) |
| 54 { | 53 { |
| 55 ASSERT(start); | 54 ASSERT(start); |
| 56 for (; start; start = start->parent()) { | 55 for (; start; start = start->parent()) { |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 } | 392 } |
| 394 | 393 |
| 395 void LayoutSVGText::invalidateTreeIfNeeded(const PaintInvalidationState& paintIn
validationState) | 394 void LayoutSVGText::invalidateTreeIfNeeded(const PaintInvalidationState& paintIn
validationState) |
| 396 { | 395 { |
| 397 // TODO(wangxianzhu): Verify if the inherited LayoutBoxModelObject::invalida
teTreeIfNeeded() | 396 // TODO(wangxianzhu): Verify if the inherited LayoutBoxModelObject::invalida
teTreeIfNeeded() |
| 398 // is applicable here. If yes, remove this overriding method. | 397 // is applicable here. If yes, remove this overriding method. |
| 399 LayoutObject::invalidateTreeIfNeeded(paintInvalidationState); | 398 LayoutObject::invalidateTreeIfNeeded(paintInvalidationState); |
| 400 } | 399 } |
| 401 | 400 |
| 402 } // namespace blink | 401 } // namespace blink |
| OLD | NEW |