Bug 484954 - Fix a typo in the previous rgba text patch. r=vlad
authorJeff Muizelaar <jmuizelaar@mozilla.com>
Thu, 14 May 2009 22:02:18 -0400
changeset 28363 dd19a3546676a17023c3ccd1fef37dcd7cf082a0
parent 28362 7f994763ccc17bb40966dafdd258600b397ddd05
child 28364 da93b28330fa66f6bf45c4a94d1036e50b713542
push id7030
push userjdrew@mozilla.com
push dateFri, 15 May 2009 02:04:29 +0000
treeherdermozilla-central@da93b28330fa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvlad
bugs484954
milestone1.9.2a1pre
Bug 484954 - Fix a typo in the previous rgba text patch. r=vlad
gfx/cairo/cairo/src/cairo-surface.c
--- a/gfx/cairo/cairo/src/cairo-surface.c
+++ b/gfx/cairo/cairo/src/cairo-surface.c
@@ -1314,17 +1314,17 @@ static cairo_status_t
 	    data,
 	    _wrap_release_source_image);
     if (status) {
 	cairo_surface_destroy (&surface->base);
 	return status;
     }
 
     pixman_image_set_component_alpha (surface->pixman_image,
-            pixman_image_get_component_alpha (surface->pixman_image));
+            pixman_image_get_component_alpha (image->pixman_image));
 
     *out = surface;
     return CAIRO_STATUS_SUCCESS;
 }
 
 
 
 /**