aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-02-06 13:43:58 +0000
committerGravatar edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-02-06 13:43:58 +0000
commit90096b619b5466d13357d1302ed2488889ff048d (patch)
tree133f853a55e7c4f35a1d8d866784f79057d51d3a
parent3fda0eadac18dc3071e2bb2979512bd580b39ead (diff)
Small code cleaup: remove redundant if
unreviewd, comment from previous cl git-svn-id: http://skia.googlecode.com/svn/trunk@7611 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--src/pdf/SkPDFDevice.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp
index 00411a195a..cb20dd0938 100644
--- a/src/pdf/SkPDFDevice.cpp
+++ b/src/pdf/SkPDFDevice.cpp
@@ -500,10 +500,6 @@ struct ContentEntry {
// So we manually destruct the object.
~ContentEntry() {
ContentEntry* val = fNext.release();
- if (NULL == val) {
- return;
- }
-
while (val != NULL) {
ContentEntry* valNext = val->fNext.release();
// When the destructor is called, fNext is NULL and exits.