Fix compiler warning triggered by non-understanding of assert.

Review URL: http://codereview.appspot.com/4666043

git-svn-id: http://skia.googlecode.com/svn/trunk@1728 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
vandebo@chromium.org 2011-06-27 18:12:31 +00:00
parent ac864a945c
commit 3e7b280b72

View File

@ -270,7 +270,7 @@ static void emit_clip(SkPath* clipPath, SkRect* clipRect,
if (clipPath) {
SkPDFUtils::EmitPath(*clipPath, contentStream);
clipFill = clipPath->getFillType();
} else if (clipRect) {
} else {
SkPDFUtils::AppendRectangle(*clipRect, contentStream);
clipFill = SkPath::kWinding_FillType;
}