From 3e7b280b720ae202db6561f31d862990a7be32d9 Mon Sep 17 00:00:00 2001 From: "vandebo@chromium.org" Date: Mon, 27 Jun 2011 18:12:31 +0000 Subject: 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 --- src/pdf/SkPDFDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp index d48ce7dda7..0da237d3d2 100644 --- a/src/pdf/SkPDFDevice.cpp +++ b/src/pdf/SkPDFDevice.cpp @@ -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; } -- cgit v1.2.3