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

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGTextLayoutAttributesBuilder.h

Issue 1854123002: Rebuild layout attributes on layout instead of on layout tree updates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/svg/SVGTextLayoutAttributesBuilder.h
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutAttributesBuilder.h b/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutAttributesBuilder.h
index 1f66b7535b0358da0d1ce9dbef753d0e8812d45b..81a5763173e78fbca9048e431d73178640c9b6c6 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutAttributesBuilder.h
+++ b/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutAttributesBuilder.h
@@ -47,9 +47,8 @@ class SVGTextLayoutAttributesBuilder {
public:
SVGTextLayoutAttributesBuilder();
bool buildLayoutAttributesForForSubtree(LayoutSVGText&);
- void buildLayoutAttributesForText(LayoutSVGInlineText*);
- void rebuildMetricsForTextLayoutObject(LayoutSVGInlineText*);
+ void rebuildMetricsForTextLayoutObject(LayoutSVGText&, LayoutSVGInlineText&);
// Invoked whenever the underlying DOM tree changes, so that m_textPositions is rebuild.
void clearTextPositioningElements() { m_textPositions.clear(); }

Powered by Google App Engine
This is Rietveld 408576698