freebsd-ports/www/chromium/files/patch-ui__gfx__canvas_skia.cc
Rene Ladan f93a363e54 www/chromium: update to 43.0.2357.65
There are some rough edges, e.g. gmail.com crashes with the EFF Privacy Badger
plugin installed.

Submitted by:	LeFroid
Obtained from:	https://github.com/Lefrid/chromium
MFH:		2015Q2
Security:	http://vuxml.freebsd.org/freebsd/a9d456b4-fe4c-11e4-ad15-00262d5ed8ee.html
2015-05-25 09:35:20 +00:00

11 lines
508 B
C++

--- ui/gfx/canvas_skia.cc.orig 2015-04-14 18:31:23.000000000 -0400
+++ ui/gfx/canvas_skia.cc 2015-04-28 08:45:50.095480000 -0400
@@ -287,7 +287,7 @@
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) {