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

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

Issue 1844723003: Move metrics list storage to LayoutSVGInlineText (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/SVGTextLayoutAttributes.h
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutAttributes.h b/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutAttributes.h
index b792bb8ff984c8e030bf6e896f4d096dc577e122..88c419ef86bef50a9962599643dc7a1d29dc07e2 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutAttributes.h
+++ b/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutAttributes.h
@@ -20,12 +20,10 @@
#ifndef SVGTextLayoutAttributes_h
#define SVGTextLayoutAttributes_h
-#include "core/layout/svg/SVGTextMetrics.h"
#include "wtf/Allocator.h"
#include "wtf/HashMap.h"
#include "wtf/MathExtras.h"
#include "wtf/Noncopyable.h"
-#include "wtf/Vector.h"
namespace blink {
@@ -59,13 +57,9 @@ public:
SVGCharacterDataMap& characterDataMap() { return m_characterDataMap; }
const SVGCharacterDataMap& characterDataMap() const { return m_characterDataMap; }
- Vector<SVGTextMetrics>& textMetricsValues() { return m_textMetricsValues; }
- const Vector<SVGTextMetrics>& textMetricsValues() const { return m_textMetricsValues; }
-
private:
LayoutSVGInlineText* m_context;
SVGCharacterDataMap m_characterDataMap;
- Vector<SVGTextMetrics> m_textMetricsValues;
};
inline SVGCharacterData::SVGCharacterData()

Powered by Google App Engine
This is Rietveld 408576698