Index: src/gpu/SkGpuDevice.h |
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h |
index 474a030ef5bd787ab8152f0011bef8fffc7388cc..6689e491e2b81631fb0ff6132c1534eaf2031087 100644 |
--- a/src/gpu/SkGpuDevice.h |
+++ b/src/gpu/SkGpuDevice.h |
@@ -22,6 +22,7 @@ |
class GrAccelData; |
class GrTextureProducer; |
struct GrCachedLayer; |
+class SkRasterCanvasLayerAllocator; |
/** |
* Subclass of SkBaseDevice, which directs all drawing to the GrGpu owned by the |
@@ -65,7 +66,7 @@ public: |
SkGpuDevice* cloneDevice(const SkSurfaceProps& props) { |
SkBaseDevice* dev = this->onCreateDevice(CreateInfo(this->imageInfo(), kPossible_TileUsage, |
props.pixelGeometry()), |
- nullptr); |
+ nullptr, nullptr); |
return static_cast<SkGpuDevice*>(dev); |
} |
@@ -172,7 +173,8 @@ private: |
SkGpuDevice(sk_sp<GrDrawContext>, int width, int height, unsigned flags); |
- SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override; |
+ SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*, |
+ SkRasterCanvasLayerAllocator*) override; |
sk_sp<SkSurface> makeSurface(const SkImageInfo&, const SkSurfaceProps&) override; |