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

Unified Diff: ui/views/examples/multiline_example.cc

Issue 19666006: Supports FontList in Textfield. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removes ResourceBundle::Delegate::GetFontList. Created 7 years, 5 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
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) {

Powered by Google App Engine
This is Rietveld 408576698