Index: ui/views/examples/multiline_example.cc |
diff --git a/ui/views/examples/multiline_example.cc b/ui/views/examples/multiline_example.cc |
index 04fdde7c96b916cdfae5c174ff0abe07210bb0dd..8d13bf510c6231b715f5f302552e6a03f9504dcc 100644 |
--- a/ui/views/examples/multiline_example.cc |
+++ b/ui/views/examples/multiline_example.cc |
@@ -31,7 +31,7 @@ class MultilineExample::RenderTextView : public View { |
virtual gfx::Size GetPreferredSize() OVERRIDE { |
return gfx::Size(0, |
- render_text_->GetFont().GetHeight() + GetInsets().height()); |
+ render_text_->font_list().GetHeight() + GetInsets().height()); |
} |
void SetText(const string16& new_contents) { |