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

Unified Diff: third_party/WebKit/Source/core/layout/api/LineLayoutText.h

Issue 1411123014: [Line Layout API] Convert SVGTextLayoutEngine and SVGTextLayoutEngineBaseline to line Layout API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/api/LineLayoutText.h
diff --git a/third_party/WebKit/Source/core/layout/api/LineLayoutText.h b/third_party/WebKit/Source/core/layout/api/LineLayoutText.h
index b4468698e701e78e4202d5cdb8cbbe55586ef609..31b63ff4ee1637de0438b04942b22cc449c511b9 100644
--- a/third_party/WebKit/Source/core/layout/api/LineLayoutText.h
+++ b/third_party/WebKit/Source/core/layout/api/LineLayoutText.h
@@ -67,6 +67,11 @@ public:
return toText()->uncheckedCharacterAt(offset);
}
+ UChar32 codepointAt(unsigned offset) const
+ {
+ return toText()->codepointAt(offset);
+ }
+
bool is8Bit() const
{
return toText()->is8Bit();

Powered by Google App Engine
This is Rietveld 408576698