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

Unified Diff: ui/gfx/render_text_mac.h

Issue 968923004: Use GetDisplayText() instead of text() for rendering text. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: another fix Created 5 years, 10 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.cc » ('j') | ui/gfx/render_text_mac.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/render_text_mac.h
diff --git a/ui/gfx/render_text_mac.h b/ui/gfx/render_text_mac.h
index 737207fe19af6060b893b4b38a0cfb582e1f847a..1184cb4af3d7bb5db2464f9be017bb23074fc8fe 100644
--- a/ui/gfx/render_text_mac.h
+++ b/ui/gfx/render_text_mac.h
@@ -53,6 +53,8 @@ class RenderTextMac : public RenderText {
void DrawVisualText(Canvas* canvas) override;
private:
+ FRIEND_TEST_ALL_PREFIXES(RenderTextTest, Mac_ElidedText);
+
struct TextRun {
CTRunRef ct_run;
SkPoint origin;
« no previous file with comments | « no previous file | ui/gfx/render_text_mac.cc » ('j') | ui/gfx/render_text_mac.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698