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

Unified Diff: ui/gfx/render_text.h

Issue 2734333005: RenderTextMac: Fix crash when passed an invalid font. (Closed)
Patch Set: Nits. Created 3 years, 9 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
« no previous file with comments | « no previous file | ui/gfx/render_text_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/render_text.h
diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h
index bcb731444c7df86757d2c673fbc0960f0bac1e1e..fc02e24d461831a378e595ace5b4108f756122d6 100644
--- a/ui/gfx/render_text.h
+++ b/ui/gfx/render_text.h
@@ -245,7 +245,7 @@ class GFX_EXPORT RenderText {
void SetHorizontalAlignment(HorizontalAlignment alignment);
const FontList& font_list() const { return font_list_; }
- void SetFontList(const FontList& font_list);
+ virtual void SetFontList(const FontList& font_list);
bool cursor_enabled() const { return cursor_enabled_; }
void SetCursorEnabled(bool cursor_enabled);
« no previous file with comments | « no previous file | ui/gfx/render_text_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698