summaryrefslogtreecommitdiffstats
path: root/ui/gfx/render_text_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/render_text_win.h')
-rw-r--r--ui/gfx/render_text_win.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/gfx/render_text_win.h b/ui/gfx/render_text_win.h
index d85e9ef..d79c877 100644
--- a/ui/gfx/render_text_win.h
+++ b/ui/gfx/render_text_win.h
@@ -121,6 +121,10 @@ class RenderTextWin : public RenderText {
std::vector<internal::TextRun*> runs_;
Size string_size_;
+ // A common vertical baseline for all the text runs. This is computed as the
+ // largest baseline over all the runs' fonts.
+ int common_baseline_;
+
scoped_array<int> visual_to_logical_;
scoped_array<int> logical_to_visual_;