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

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

Issue 1627713002: Add more missing closing namespace comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, address comment (also filed llvm.org/PR26290) Created 4 years, 11 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
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698