2016-07-17 08:00:03 +00:00
|
|
|
$NetBSD$
|
|
|
|
|
2020-07-27 03:07:44 +00:00
|
|
|
--- ui/gfx/canvas_skia.cc.orig 2020-07-15 18:56:34.000000000 +0000
|
2016-07-17 08:00:03 +00:00
|
|
|
+++ ui/gfx/canvas_skia.cc
|
2020-07-27 03:07:44 +00:00
|
|
|
@@ -206,7 +206,7 @@ void Canvas::DrawStringRectWithFlags(con
|
2016-02-24 02:06:20 +00:00
|
|
|
Range range = StripAcceleratorChars(flags, &adjusted_text);
|
|
|
|
bool elide_text = ((flags & NO_ELLIPSIS) == 0);
|
|
|
|
|
|
|
|
-#if defined(OS_LINUX)
|
|
|
|
+#if defined(OS_LINUX) || defined(OS_BSD)
|
|
|
|
// On Linux, eliding really means fading the end of the string. But only
|
|
|
|
// for LTR text. RTL text is still elided (on the left) with "...".
|
|
|
|
if (elide_text) {
|