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

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

Issue 2241833002: Pass MapCoordinatesFlags through SVGLayoutSupport::mapLocalToAncestor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: none Created 4 years, 4 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 Oliver Hunt <ojh16@student.canterbury.ac.nz> 2 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3 * Copyright (C) 2006 Apple Inc. All rights reserved. 3 * Copyright (C) 2006 Apple Inc. All rights reserved.
4 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 return textRoot->paintInvalidationRectInLocalSVGCoordinates(); 82 return textRoot->paintInvalidationRectInLocalSVGCoordinates();
83 83
84 return FloatRect(); 84 return FloatRect();
85 } 85 }
86 86
87 LayoutRect LayoutSVGInline::absoluteClippedOverflowRect() const 87 LayoutRect LayoutSVGInline::absoluteClippedOverflowRect() const
88 { 88 {
89 return SVGLayoutSupport::clippedOverflowRectForPaintInvalidation(*this, *vie w()); 89 return SVGLayoutSupport::clippedOverflowRectForPaintInvalidation(*this, *vie w());
90 } 90 }
91 91
92 void LayoutSVGInline::mapLocalToAncestor(const LayoutBoxModelObject* ancestor, T ransformState& transformState, MapCoordinatesFlags) const 92 void LayoutSVGInline::mapLocalToAncestor(const LayoutBoxModelObject* ancestor, T ransformState& transformState, MapCoordinatesFlags flags) const
93 { 93 {
94 SVGLayoutSupport::mapLocalToAncestor(this, ancestor, transformState); 94 SVGLayoutSupport::mapLocalToAncestor(this, ancestor, transformState, flags);
95 } 95 }
96 96
97 const LayoutObject* LayoutSVGInline::pushMappingToContainer(const LayoutBoxModel Object* ancestorToStopAt, LayoutGeometryMap& geometryMap) const 97 const LayoutObject* LayoutSVGInline::pushMappingToContainer(const LayoutBoxModel Object* ancestorToStopAt, LayoutGeometryMap& geometryMap) const
98 { 98 {
99 return SVGLayoutSupport::pushMappingToContainer(this, ancestorToStopAt, geom etryMap); 99 return SVGLayoutSupport::pushMappingToContainer(this, ancestorToStopAt, geom etryMap);
100 } 100 }
101 101
102 void LayoutSVGInline::absoluteQuads(Vector<FloatQuad>& quads) const 102 void LayoutSVGInline::absoluteQuads(Vector<FloatQuad>& quads) const
103 { 103 {
104 const LayoutSVGText* textRoot = LayoutSVGText::locateLayoutSVGTextAncestor(t his); 104 const LayoutSVGText* textRoot = LayoutSVGText::locateLayoutSVGTextAncestor(t his);
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 } 144 }
145 145
146 void LayoutSVGInline::invalidateTreeIfNeeded(const PaintInvalidationState& paint InvalidationState) 146 void LayoutSVGInline::invalidateTreeIfNeeded(const PaintInvalidationState& paint InvalidationState)
147 { 147 {
148 // TODO(wangxianzhu): Verify if the inherited LayoutBoxModelObject::invalida teTreeIfNeeded() 148 // TODO(wangxianzhu): Verify if the inherited LayoutBoxModelObject::invalida teTreeIfNeeded()
149 // is applicable here. If yes, remove this overriding method. 149 // is applicable here. If yes, remove this overriding method.
150 LayoutObject::invalidateTreeIfNeeded(paintInvalidationState); 150 LayoutObject::invalidateTreeIfNeeded(paintInvalidationState);
151 } 151 }
152 152
153 } // namespace blink 153 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698