Index: src/record/SkRecording.cpp |
diff --git a/src/record/SkRecording.cpp b/src/record/SkRecording.cpp |
index 290339d16b0ee672487e498649676b57915d81fb..2c59c8a217174040b6da32c69c29d79b30ca806d 100644 |
--- a/src/record/SkRecording.cpp |
+++ b/src/record/SkRecording.cpp |
@@ -8,8 +8,9 @@ |
#include "SkRecording.h" |
#include "SkRecord.h" |
-#include "SkRecorder.h" |
+#include "SkRecordCulling.h" |
#include "SkRecordDraw.h" |
+#include "SkRecorder.h" |
namespace EXPERIMENTAL { |
@@ -35,7 +36,8 @@ SkRecording::SkRecording(int width, int height) { |
} |
/*static*/ const SkPlayback* SkRecording::Delete(SkRecording* recording) { |
- const SkRecord* record = recording->fRecord; |
+ SkRecord* record = recording->fRecord; |
+ SkRecordAnnotateCullingPairs(record); |
SkDELETE(recording); |
return SkNEW_ARGS(SkPlayback, (record)); |
} |