Index: src/core/SkPictureFlat.cpp |
diff --git a/src/core/SkPictureFlat.cpp b/src/core/SkPictureFlat.cpp |
index 792345885c13ba5fb84acb250c999737be1b0b90..013bc7f98ea4799a2277301aaba746bb039544da 100644 |
--- a/src/core/SkPictureFlat.cpp |
+++ b/src/core/SkPictureFlat.cpp |
@@ -56,28 +56,3 @@ SkRefCnt* SkTypefacePlayback::set(int index, SkRefCnt* obj) { |
SkRefCnt_SafeAssign(fArray[index], obj); |
return obj; |
} |
- |
-/////////////////////////////////////////////////////////////////////////////// |
- |
-SkFlatController::SkFlatController(uint32_t writeBufferFlags) |
-: fBitmapHeap(nullptr) |
-, fTypefaceSet(nullptr) |
-, fTypefacePlayback(nullptr) |
-, fWriteBufferFlags(writeBufferFlags) {} |
- |
-SkFlatController::~SkFlatController() { |
- SkSafeUnref(fBitmapHeap); |
- SkSafeUnref(fTypefaceSet); |
-} |
- |
-void SkFlatController::setBitmapHeap(SkBitmapHeap* heap) { |
- SkRefCnt_SafeAssign(fBitmapHeap, heap); |
-} |
- |
-void SkFlatController::setTypefaceSet(SkRefCntSet *set) { |
- SkRefCnt_SafeAssign(fTypefaceSet, set); |
-} |
- |
-void SkFlatController::setTypefacePlayback(SkTypefacePlayback* playback) { |
- fTypefacePlayback = playback; |
-} |