Index: src/core/SkRecordOpts.cpp |
diff --git a/src/core/SkRecordOpts.cpp b/src/core/SkRecordOpts.cpp |
index 8faa45ce562201ac0c3029d06d2abf8f0f2acffe..04c72c32cc2d65c3aae4db45776b2195959beb46 100644 |
--- a/src/core/SkRecordOpts.cpp |
+++ b/src/core/SkRecordOpts.cpp |
@@ -22,6 +22,8 @@ void SkRecordOptimize(SkRecord* record) { |
SkRecordNoopSaveLayerDrawRestores(record); |
SkRecordMergeSvgOpacityAndFilterLayers(record); |
+ |
+ record->defrag(); |
} |
// Most of the optimizations in this file are pattern-based. These are all defined as structs with: |