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

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

Issue 1158183006: Remove the old multicol implementation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase master Created 5 years, 6 months 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/layout/TextAutosizer.cpp ('k') | Source/core/paint/BlockPainter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 } 360 }
361 361
362 checkLayoutAttributesConsistency(this, m_layoutAttributes); 362 checkLayoutAttributesConsistency(this, m_layoutAttributes);
363 363
364 // Reduced version of LayoutBlock::layoutBlock(), which only takes care of S VG text. 364 // Reduced version of LayoutBlock::layoutBlock(), which only takes care of S VG text.
365 // All if branches that could cause early exit in LayoutBlocks layoutBlock() method are turned into assertions. 365 // All if branches that could cause early exit in LayoutBlocks layoutBlock() method are turned into assertions.
366 ASSERT(!isInline()); 366 ASSERT(!isInline());
367 ASSERT(!simplifiedLayout()); 367 ASSERT(!simplifiedLayout());
368 ASSERT(!scrollsOverflow()); 368 ASSERT(!scrollsOverflow());
369 ASSERT(!hasControlClip()); 369 ASSERT(!hasControlClip());
370 ASSERT(!hasColumns());
371 ASSERT(!positionedObjects()); 370 ASSERT(!positionedObjects());
372 ASSERT(!m_overflow); 371 ASSERT(!m_overflow);
373 ASSERT(!isAnonymousBlock()); 372 ASSERT(!isAnonymousBlock());
374 373
375 if (!firstChild()) 374 if (!firstChild())
376 setChildrenInline(true); 375 setChildrenInline(true);
377 376
378 // FIXME: We need to find a way to only layout the child boxes, if needed. 377 // FIXME: We need to find a way to only layout the child boxes, if needed.
379 FloatRect oldBoundaries = objectBoundingBox(); 378 FloatRect oldBoundaries = objectBoundingBox();
380 ASSERT(childrenInline()); 379 ASSERT(childrenInline());
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 SVGResourcesCache::clientWillBeRemovedFromTree(child); 504 SVGResourcesCache::clientWillBeRemovedFromTree(child);
506 505
507 Vector<SVGTextLayoutAttributes*, 2> affectedAttributes; 506 Vector<SVGTextLayoutAttributes*, 2> affectedAttributes;
508 FontCachePurgePreventer fontCachePurgePreventer; 507 FontCachePurgePreventer fontCachePurgePreventer;
509 subtreeChildWillBeRemoved(child, affectedAttributes); 508 subtreeChildWillBeRemoved(child, affectedAttributes);
510 LayoutSVGBlock::removeChild(child); 509 LayoutSVGBlock::removeChild(child);
511 subtreeChildWasRemoved(affectedAttributes); 510 subtreeChildWasRemoved(affectedAttributes);
512 } 511 }
513 512
514 } 513 }
OLDNEW
« no previous file with comments | « Source/core/layout/TextAutosizer.cpp ('k') | Source/core/paint/BlockPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698