summaryrefslogtreecommitdiffstats
path: root/ui/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx')
-rw-r--r--ui/gfx/render_text_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gfx/render_text_win.cc b/ui/gfx/render_text_win.cc
index 3bac2f8..fb5a96d 100644
--- a/ui/gfx/render_text_win.cc
+++ b/ui/gfx/render_text_win.cc
@@ -593,7 +593,7 @@ void RenderTextWin::DrawVisualText(Canvas* canvas) {
}
void RenderTextWin::ItemizeLogicalText() {
- runs_.reset();
+ runs_.clear();
string_size_ = Size(0, GetFont().GetHeight());
common_baseline_ = 0;