gfx/cairo/cairo-qt-compile.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 # HG changeset patch
     2 # Parent 2563fa2763b0ea83394e785340afa4c564ceab57
     3 diff -r 2563fa2763b0 -r 9ab15e95a354 gfx/cairo/cairo/src/cairo-qt-surface.cpp
     4 --- a/gfx/cairo/cairo/src/cairo-qt-surface.cpp	Thu Apr 29 06:55:11 2010 +0300
     5 +++ b/gfx/cairo/cairo/src/cairo-qt-surface.cpp	Thu Apr 29 06:55:51 2010 +0300
     6 @@ -204,6 +204,7 @@
     7      case CAIRO_OPERATOR_HSL_LUMINOSITY:
     8  	ASSERT_NOT_REACHED;
     9      }
    10 +    return QPainter::CompositionMode_Source;
    11  }
    13  static bool
    14 @@ -668,7 +669,6 @@
    15  static cairo_status_t
    16  _cairo_qt_surface_clone_similar (void *abstract_surface,
    17  				 cairo_surface_t *src,
    18 -				 cairo_content_t  content,
    19  				 int              src_x,
    20  				 int              src_y,
    21  				 int              width,

mercurial