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

Unified Diff: ui/gfx/render_text.h

Issue 440213004: Support float widths in RenderTextHarfBuzz. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update RenderTextWin minimally. Created 6 years, 4 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
« no previous file with comments | « no previous file | ui/gfx/render_text_harfbuzz.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/render_text.h
diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h
index f5cb746527ae697fb684406e1baed7376d870271..e5a17a1d1189a4d72876b1189141e83f21756abc 100644
--- a/ui/gfx/render_text.h
+++ b/ui/gfx/render_text.h
@@ -163,9 +163,8 @@ struct Line {
// Segments that make up this line in visual order.
std::vector<LineSegment> segments;
- // A line size is the sum of segment widths and the maximum of segment
- // heights.
- Size size;
+ // The sum of segment widths and the maximum of segment heights.
+ SizeF size;
// Sum of preceding lines' heights.
int preceding_heights;
« no previous file with comments | « no previous file | ui/gfx/render_text_harfbuzz.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698