gfx/skia/patches/0009-Bug-848491-Re-apply-bug-751418-Add-our-own-GrUserCon.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.

     1 From: George Wright <gw@gwright.org.uk>
     2 Date: Thu, 25 Apr 2013 20:52:32 -0400
     3 Subject: Bug 848491 - Re-apply bug 751418 - Add our own GrUserConfig
     6 diff --git a/gfx/skia/include/gpu/GrUserConfig.h b/gfx/skia/include/gpu/GrUserConfig.h
     7 index 11d4feb..77ab850 100644
     8 --- a/gfx/skia/include/gpu/GrUserConfig.h
     9 +++ b/gfx/skia/include/gpu/GrUserConfig.h
    10 @@ -43,6 +43,10 @@
    11   */
    12  //#define GR_DEFAULT_TEXTURE_CACHE_MB_LIMIT 96
    14 +/*
    15 + * This allows us to set a callback to be called before each GL call to ensure
    16 + * that our context is set correctly
    17 + */
    18  #define GR_GL_PER_GL_FUNC_CALLBACK  1
    20  #endif
    21 -- 
    22 1.7.11.7

mercurial