Index: src/core/SkRecorder.cpp |
diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp |
index 4e23da20cc8bfadde49ceae75cdbc83ae342ccba..ff5c27d7e5a6be0fe02f2e343112278c85bb0e0e 100644 |
--- a/src/core/SkRecorder.cpp |
+++ b/src/core/SkRecorder.cpp |
@@ -11,6 +11,7 @@ |
#include "SkPicture.h" |
#include "SkPictureUtils.h" |
#include "SkRecorder.h" |
+#include "SkSurface.h" |
//#define WRAP_BITMAP_AS_IMAGE |
@@ -381,3 +382,6 @@ void SkRecorder::onClipRegion(const SkRegion& deviceRgn, SkRegion::Op op) { |
APPEND(ClipRegion, this->devBounds(), deviceRgn, op); |
} |
+sk_sp<SkSurface> SkRecorder::onNewSurface(const SkImageInfo&, const SkSurfaceProps&) { |
+ return nullptr; |
+} |