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

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

Issue 1861013003: Separate metrics update and layout attribute resolving (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simplify-layoutattr-invalidation
Patch Set: Rebase 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/SVGTextMetricsBuilder.h
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGTextMetricsBuilder.h b/third_party/WebKit/Source/core/layout/svg/SVGTextMetricsBuilder.h
index 5c1ef044832ba0be015e7c924c2f653d0f6c3a1a..964b79d857512e1c8eea197788ce8eb6fcde9f3d 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGTextMetricsBuilder.h
+++ b/third_party/WebKit/Source/core/layout/svg/SVGTextMetricsBuilder.h
@@ -20,17 +20,13 @@
#ifndef SVGTextMetricsBuilder_h
#define SVGTextMetricsBuilder_h
-#include "core/layout/svg/SVGTextLayoutAttributes.h"
-
namespace blink {
class LayoutSVGInlineText;
-class LayoutSVGText;
namespace SVGTextMetricsBuilder {
-void measureTextLayoutObject(LayoutSVGText&, LayoutSVGInlineText&);
-void buildMetricsAndLayoutAttributes(LayoutSVGText&, SVGCharacterDataMap& allCharactersMap);
+void updateTextMetrics(LayoutSVGInlineText&, bool& lastCharacterWasWhiteSpace);
} // namespace SVGTextMetricsBuilder

Powered by Google App Engine
This is Rietveld 408576698