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

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

Issue 1966703002: Support includePartialGlyphs=false in Font::offsetForPositionForComplexText (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment as per eae review Created 4 years, 7 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/ShapeResult.h
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.h b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.h
index 7dcafcf2c4e979effaa65efa6f657930ab97a4ef..4433decd3193f1394f078d8b08c4a08acdb5a839 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.h
+++ b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.h
@@ -71,7 +71,7 @@ public:
// For memory reporting.
size_t byteSize() const;
- int offsetForPosition(float targetX) const;
+ int offsetForPosition(float targetX, bool includePartialGlyphs) const;
PassRefPtr<ShapeResult> applySpacingToCopy(ShapeResultSpacing&,
const TextRun&) const;

Powered by Google App Engine
This is Rietveld 408576698