Index: third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.h |
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.h b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.h |
index 573e548f692bec3f06d0cc4f076fa6d35a648e63..fb94c450e0869fded8651dae3e2118f746462672 100644 |
--- a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.h |
+++ b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.h |
@@ -10,6 +10,7 @@ |
#include "wtf/Allocator.h" |
#include "wtf/RefPtr.h" |
#include "wtf/Vector.h" |
+#include <tuple> |
namespace blink { |
@@ -57,6 +58,13 @@ class PLATFORM_EXPORT ShapeResultBuffer { |
unsigned from, |
unsigned to); |
+ struct RunFontData { |
+ SimpleFontData* m_fontData; |
+ size_t m_glyphCount; |
+ }; |
+ |
+ Vector<RunFontData> runFontData() const; |
+ |
private: |
static CharacterRange getCharacterRangeInternal( |
const Vector<RefPtr<const ShapeResult>, 64>&, |