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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.h

Issue 2718043003: Refactor InspectorCSSAgent to avoid an intermediate GlyphBuffer (Closed)
Patch Set: review Created 3 years, 10 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/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..dccaf6aa95f0e982cdd815489c0e0ead89d72b65 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,8 @@ class PLATFORM_EXPORT ShapeResultBuffer {
unsigned from,
unsigned to);
+ Vector<std::tuple<SimpleFontData*, size_t>> getRunFontData() const;
+
private:
static CharacterRange getCharacterRangeInternal(
const Vector<RefPtr<const ShapeResult>, 64>&,

Powered by Google App Engine
This is Rietveld 408576698