Chromium Code Reviews| Index: src/core/SkPictureFlat.h |
| =================================================================== |
| --- src/core/SkPictureFlat.h (revision 13719) |
| +++ src/core/SkPictureFlat.h (working copy) |
| @@ -505,7 +505,9 @@ |
| const SkFlatData& scratch = this->resetScratch(element, this->count()+1); |
| SkFlatData* candidate = fHash.find(scratch); |
| - if (candidate != NULL) return candidate; |
| + if (candidate != NULL) { |
| + return candidate; |
| + } |
| SkFlatData* detached = this->detachScratch(); |
| fHash.add(detached); |