BubbleFrameView: GetPreferred/MinimumSize take the border into account.
[chromium-blink-merge.git] / third_party / instrumented_libraries / patches / libfontconfig.trusty.diff
blob7cfeba5e700f04cd2a0bae5997d083eedaf648bf
1 diff -rupN ./src/fcpat.c ../fontconfig-2.11.0-patched/src/fcpat.c
2 --- ./src/fcpat.c 2013-10-11 07:10:18.000000000 +0400
3 +++ ../fontconfig-2.11.0-patched/src/fcpat.c 2014-09-30 22:14:55.818360071 +0400
4 @@ -33,6 +33,9 @@ FcPatternCreate (void)
5 p = (FcPattern *) malloc (sizeof (FcPattern));
6 if (!p)
7 return 0;
8 + // Silence Valgrind/MemorySanitizer. There is uninitialized padding at the
9 + // end of this structure. When serialized to file, this will cause a report.
10 + memset(p, 0, sizeof(*p));
11 p->num = 0;
12 p->size = 0;
13 p->elts_offset = FcPtrToOffset (p, NULL);