Index: ui/gfx/render_text_mac.cc |
diff --git a/ui/gfx/render_text_mac.cc b/ui/gfx/render_text_mac.cc |
index 61a85cd609b1e2d7cda4b407efb14cf7fc51cb7a..39460b5ecbd081df8b1094228a65829d12f5a6fd 100644 |
--- a/ui/gfx/render_text_mac.cc |
+++ b/ui/gfx/render_text_mac.cc |
@@ -249,9 +249,9 @@ void RenderTextMac::ComputeRuns() { |
CFArrayRef ct_runs = CTLineGetGlyphRuns(line_); |
const CFIndex ct_runs_count = CFArrayGetCount(ct_runs); |
- // TODO(asvitkine): Don't use GetTextOffset() until draw time, since it may be |
+ // TODO(asvitkine): Don't use GetLineOffset() until draw time, since it may be |
// updated based on alignment changes without resetting the layout. |
- gfx::Vector2d text_offset = GetTextOffset(); |
+ gfx::Vector2d text_offset = GetLineOffset(0); |
// Skia will draw glyphs with respect to the baseline. |
text_offset += gfx::Vector2d(0, common_baseline_); |