Index: third_party/WebKit/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp |
=================================================================== |
--- third_party/WebKit/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp (revision 8367) |
+++ third_party/WebKit/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp (working copy) |
@@ -36,6 +36,7 @@ |
#include "Color.h" |
#include "FloatRect.h" |
#include "Gradient.h" |
+#include "ImageBuffer.h" |
#include "IntRect.h" |
#include "NativeImageSkia.h" |
#include "NotImplemented.h" |
@@ -417,8 +418,9 @@ |
if (paintingDisabled()) |
return; |
- // FIXME: This is needed for image masking and complex text fills. |
- notImplemented(); |
+#if defined(__linux__) || PLATFORM(WIN_OS) |
+ platformContext()->beginLayerClippedToImage(rect, imageBuffer); |
+#endif |
} |
void GraphicsContext::concatCTM(const TransformationMatrix& xform) |