зеркало из https://github.com/mozilla/gecko-dev.git
Bug 593604. cairo patch for changeset e427b4ea7e2f; a=NPOTB
This commit is contained in:
Родитель
3489471f60
Коммит
e2af36b8ca
|
@ -160,6 +160,8 @@ disable-subpixel-antialiasing.patch: Add API to disable subpixel antialiasing co
|
|||
|
||||
tee-surfaces-pointwise.patch: Composite tee subsurfaces pointwise if possible
|
||||
|
||||
pattern_get_surface-no-error.patch: Don't put a pattern into error if cairo_pattern_get_surface fails
|
||||
|
||||
==== pixman patches ====
|
||||
|
||||
pixman-android-cpu-detect.patch: Add CPU detection support for Android, where we can't reliably access /proc/self/auxv.
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
# HG changeset patch
|
||||
# User Robert O'Callahan <robert@ocallahan.org>
|
||||
# Date 1294019288 -46800
|
||||
# Node ID e427b4ea7e2ff980769e1acd92f4730c5ed3654f
|
||||
# Parent bacc54d452a9fddb5a0d6a1442ec7be4de81ffa7
|
||||
Bug 593604. Part 2.5: cairo_pattern_get_surface should not call cairo_error. r=jrmuizel,a=blocking
|
||||
|
||||
diff --git a/gfx/cairo/cairo/src/cairo-pattern.c b/gfx/cairo/cairo/src/cairo-pattern.c
|
||||
--- a/gfx/cairo/cairo/src/cairo-pattern.c
|
||||
+++ b/gfx/cairo/cairo/src/cairo-pattern.c
|
||||
@@ -2940,17 +2940,17 @@ cairo_pattern_get_surface (cairo_pattern
|
||||
cairo_surface_t **surface)
|
||||
{
|
||||
cairo_surface_pattern_t *spat = (cairo_surface_pattern_t*) pattern;
|
||||
|
||||
if (pattern->status)
|
||||
return pattern->status;
|
||||
|
||||
if (pattern->type != CAIRO_PATTERN_TYPE_SURFACE)
|
||||
- return _cairo_error (CAIRO_STATUS_PATTERN_TYPE_MISMATCH);
|
||||
+ return CAIRO_STATUS_PATTERN_TYPE_MISMATCH;
|
||||
|
||||
if (surface)
|
||||
*surface = spat->surface;
|
||||
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/**
|
Загрузка…
Ссылка в новой задаче