Unreviewed, rolling out r148923.
[WebKit-https.git] / Source / WebCore / platform / graphics / cairo / PlatformContextCairo.cpp
index 5d774192798b06f38f3d04349a436a101da80e6e..147dc15adfe139c216088dbf878f2361db7236f9 100644 (file)
@@ -191,7 +191,7 @@ void PlatformContextCairo::drawSurfaceToContext(cairo_surface_t* surface, const
         cairo_pattern_set_filter(pattern.get(), CAIRO_FILTER_BILINEAR);
         break;
     }
-    cairo_pattern_set_extend(pattern.get(), CAIRO_EXTEND_NONE);
+    cairo_pattern_set_extend(pattern.get(), CAIRO_EXTEND_PAD);
 
     // The pattern transformation properly scales the pattern for when the source rectangle is a
     // different size than the destination rectangle. We also account for any offset we introduced