Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp

Issue 1444173002: third_party/WebKit: fix typos found in comments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CL Description change, Typo patch apply to upstream master. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 324
325 bool updateCachedBoundariesInParents = false; 325 bool updateCachedBoundariesInParents = false;
326 if (m_needsTransformUpdate) { 326 if (m_needsTransformUpdate) {
327 m_localTransform = toSVGTextElement(node())->calculateAnimatedLocalTrans form(); 327 m_localTransform = toSVGTextElement(node())->calculateAnimatedLocalTrans form();
328 m_needsTransformUpdate = false; 328 m_needsTransformUpdate = false;
329 updateCachedBoundariesInParents = true; 329 updateCachedBoundariesInParents = true;
330 } 330 }
331 331
332 if (!everHadLayout()) { 332 if (!everHadLayout()) {
333 // When laying out initially, collect all layout attributes, build the c haracter data map, 333 // When laying out initially, collect all layout attributes, build the c haracter data map,
334 // and propogate resulting SVGLayoutAttributes to all LayoutSVGInlineTex t children in the subtree. 334 // and propagate resulting SVGLayoutAttributes to all LayoutSVGInlineTex t children in the subtree.
335 ASSERT(m_layoutAttributes.isEmpty()); 335 ASSERT(m_layoutAttributes.isEmpty());
336 collectLayoutAttributes(this, m_layoutAttributes); 336 collectLayoutAttributes(this, m_layoutAttributes);
337 updateFontInAllDescendants(this); 337 updateFontInAllDescendants(this);
338 m_layoutAttributesBuilder.buildLayoutAttributesForForSubtree(*this); 338 m_layoutAttributesBuilder.buildLayoutAttributesForForSubtree(*this);
339 339
340 m_needsReordering = true; 340 m_needsReordering = true;
341 m_needsTextMetricsUpdate = false; 341 m_needsTextMetricsUpdate = false;
342 m_needsPositioningValuesUpdate = false; 342 m_needsPositioningValuesUpdate = false;
343 updateCachedBoundariesInParents = true; 343 updateCachedBoundariesInParents = true;
344 } else if (m_needsPositioningValuesUpdate) { 344 } else if (m_needsPositioningValuesUpdate) {
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 paintInvalidationState.pushDelayedPaintInvalidationTarget(*this); 531 paintInvalidationState.pushDelayedPaintInvalidationTarget(*this);
532 532
533 ForceHorriblySlowRectMapping slowRectMapping(&paintInvalidationState); 533 ForceHorriblySlowRectMapping slowRectMapping(&paintInvalidationState);
534 PaintInvalidationState childTreeWalkState(paintInvalidationState, *this, pai ntInvalidationState.paintInvalidationContainer()); 534 PaintInvalidationState childTreeWalkState(paintInvalidationState, *this, pai ntInvalidationState.paintInvalidationContainer());
535 if (reason == PaintInvalidationSVGResourceChange) 535 if (reason == PaintInvalidationSVGResourceChange)
536 childTreeWalkState.setForceSubtreeInvalidationWithinContainer(); 536 childTreeWalkState.setForceSubtreeInvalidationWithinContainer();
537 invalidatePaintOfSubtreesIfNeeded(childTreeWalkState); 537 invalidatePaintOfSubtreesIfNeeded(childTreeWalkState);
538 } 538 }
539 539
540 } 540 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698