| 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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 continue; | 338 continue; |
| 339 RenderSVGInlineText* text = toRenderSVGInlineText(descendant); | 339 RenderSVGInlineText* text = toRenderSVGInlineText(descendant); |
| 340 text->updateScaledFont(); | 340 text->updateScaledFont(); |
| 341 if (builder) | 341 if (builder) |
| 342 builder->rebuildMetricsForTextRenderer(text); | 342 builder->rebuildMetricsForTextRenderer(text); |
| 343 } | 343 } |
| 344 } | 344 } |
| 345 | 345 |
| 346 void RenderSVGText::layout() | 346 void RenderSVGText::layout() |
| 347 { | 347 { |
| 348 StackStats::LayoutCheckPoint layoutCheckPoint; | |
| 349 ASSERT(needsLayout()); | 348 ASSERT(needsLayout()); |
| 350 LayoutRepainter repainter(*this, SVGRenderSupport::checkForSVGRepaintDuringL
ayout(this)); | 349 LayoutRepainter repainter(*this, SVGRenderSupport::checkForSVGRepaintDuringL
ayout(this)); |
| 351 | 350 |
| 352 bool updateCachedBoundariesInParents = false; | 351 bool updateCachedBoundariesInParents = false; |
| 353 if (m_needsTransformUpdate) { | 352 if (m_needsTransformUpdate) { |
| 354 SVGTextElement* text = static_cast<SVGTextElement*>(node()); | 353 SVGTextElement* text = static_cast<SVGTextElement*>(node()); |
| 355 m_localTransform = text->animatedLocalTransform(); | 354 m_localTransform = text->animatedLocalTransform(); |
| 356 m_needsTransformUpdate = false; | 355 m_needsTransformUpdate = false; |
| 357 updateCachedBoundariesInParents = true; | 356 updateCachedBoundariesInParents = true; |
| 358 } | 357 } |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 return 0; | 552 return 0; |
| 554 } | 553 } |
| 555 | 554 |
| 556 // Fix for <rdar://problem/8048875>. We should not render :first-letter CSS Styl
e | 555 // Fix for <rdar://problem/8048875>. We should not render :first-letter CSS Styl
e |
| 557 // in a SVG text element context. | 556 // in a SVG text element context. |
| 558 void RenderSVGText::updateFirstLetter() | 557 void RenderSVGText::updateFirstLetter() |
| 559 { | 558 { |
| 560 } | 559 } |
| 561 | 560 |
| 562 } | 561 } |
| OLD | NEW |