diff options
author | vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-06-27 18:12:31 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-06-27 18:12:31 +0000 |
commit | 3e7b280b720ae202db6561f31d862990a7be32d9 (patch) | |
tree | 115760660bd3c7750305ce4ff92595e9e781bced | |
parent | ac864a945cb7e1be93717f209bf7eff2c4b6b2b5 (diff) |
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
-rw-r--r-- | src/pdf/SkPDFDevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |