gfx/skia/patches/archive/0003-SkUserConfig-for-Mozilla.patch

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

michael@0 1 From ef53776c06cffc7607c3777702f93e04c0852981 Mon Sep 17 00:00:00 2001
michael@0 2 From: George Wright <gwright@mozilla.com>
michael@0 3 Date: Fri, 18 May 2012 14:13:49 -0400
michael@0 4 Subject: [PATCH 03/10] Bug 755869 - [6] Re-apply SkUserConfig (no
michael@0 5 original bug) r=mattwoodrow
michael@0 6
michael@0 7 ---
michael@0 8 gfx/skia/include/config/SkUserConfig.h | 10 ++++++++++
michael@0 9 1 files changed, 10 insertions(+), 0 deletions(-)
michael@0 10
michael@0 11 diff --git a/gfx/skia/include/config/SkUserConfig.h b/gfx/skia/include/config/SkUserConfig.h
michael@0 12 index 9fdbd0a..f98ba85 100644
michael@0 13 --- a/gfx/skia/include/config/SkUserConfig.h
michael@0 14 +++ b/gfx/skia/include/config/SkUserConfig.h
michael@0 15 @@ -156,6 +156,10 @@
michael@0 16 //#define SK_SUPPORT_UNITTEST
michael@0 17 #endif
michael@0 18
michael@0 19 +/* Don't dither 32bit gradients, to match what the canvas test suite expects.
michael@0 20 + */
michael@0 21 +#define SK_DISABLE_DITHER_32BIT_GRADIENT
michael@0 22 +
michael@0 23 /* If your system embeds skia and has complex event logging, define this
michael@0 24 symbol to name a file that maps the following macros to your system's
michael@0 25 equivalents:
michael@0 26 @@ -177,4 +181,10 @@
michael@0 27 #define SK_A32_SHIFT 24
michael@0 28 #endif
michael@0 29
michael@0 30 +/* Don't include stdint.h on windows as it conflicts with our build system.
michael@0 31 + */
michael@0 32 +#ifdef SK_BUILD_FOR_WIN32
michael@0 33 + #define SK_IGNORE_STDINT_DOT_H
michael@0 34 +#endif
michael@0 35 +
michael@0 36 #endif
michael@0 37 --
michael@0 38 1.7.5.4
michael@0 39

mercurial