Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: src/core/SkPictureFlat.cpp

Issue 1930103003: remove SkWriteBuffer::reserve() (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: More dead code. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkPictureFlat.h ('k') | tests/BitmapHeapTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
-}
« no previous file with comments | « src/core/SkPictureFlat.h ('k') | tests/BitmapHeapTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698