Index: src/core/SkPictureFlat.cpp |
diff --git a/src/core/SkPictureFlat.cpp b/src/core/SkPictureFlat.cpp |
index e3a6f1325a20ebb4fccea75890559c4a59217cd6..7b2e67f5efdc75b1b4e604851cf388bfc390eede 100644 |
--- a/src/core/SkPictureFlat.cpp |
+++ b/src/core/SkPictureFlat.cpp |
@@ -60,12 +60,12 @@ SkRefCnt* SkTypefacePlayback::set(int index, SkRefCnt* obj) { |
/////////////////////////////////////////////////////////////////////////////// |
-SkFlatController::SkFlatController() |
+SkFlatController::SkFlatController(uint32_t writeBufferFlags) |
: fBitmapHeap(NULL) |
, fTypefaceSet(NULL) |
, fTypefacePlayback(NULL) |
, fFactorySet(NULL) |
-, fWriteBufferFlags(0) {} |
+, fWriteBufferFlags(writeBufferFlags) {} |
SkFlatController::~SkFlatController() { |
SkSafeUnref(fBitmapHeap); |