OSDN Git Service

Merge WebKit at r74534: Fix FontAndroid.cpp (getShadow)
authorBen Murdoch <benm@google.com>
Thu, 5 May 2011 16:58:00 +0000 (17:58 +0100)
committerBen Murdoch <benm@google.com>
Tue, 10 May 2011 14:38:32 +0000 (15:38 +0100)
Update GraphicsContext::getShadow callsite with new
parameter.

See http://trac.webkit.org/changeset/74463

Change-Id: Ibfb36831800a57968963a5619c8425f5551829f5

WebCore/platform/graphics/android/FontAndroid.cpp

index 520af5d..64d6aca 100644 (file)
@@ -83,7 +83,8 @@ static bool setupForText(SkPaint* paint, GraphicsContext* gc,
     FloatSize shadowOffset;
     float shadowBlur;
     Color shadowColor;
-    bool hasShadow = gc->getShadow(shadowOffset, shadowBlur, shadowColor);
+    ColorSpace shadowColorSpace;
+    bool hasShadow = gc->getShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace);
     bool hasBothStrokeAndFill =
         (mode & (cTextStroke | cTextFill)) == (cTextStroke | cTextFill);
     if (hasShadow || hasBothStrokeAndFill) {