Index: src/gpu/SkGpuDevice.h |
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h |
index e57da44c692755365322490cd3786d91faa35e84..a8e4cdc1e48be1c920e92bdc4f2d3f94fe677562 100644 |
--- a/src/gpu/SkGpuDevice.h |
+++ b/src/gpu/SkGpuDevice.h |
@@ -23,6 +23,7 @@ |
class GrAccelData; |
class GrTextureProducer; |
struct GrCachedLayer; |
+class SkRasterCanvasLayerAllocator; |
/** |
* Subclass of SkBaseDevice, which directs all drawing to the GrGpu owned by the |
@@ -61,7 +62,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); |
} |
@@ -178,7 +179,8 @@ private: |
SkGpuDevice(GrRenderTarget*, int width, int height, const SkSurfaceProps*, unsigned flags); |
- SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override; |
+ SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*, |
+ SkRasterCanvasLayerAllocator*) override; |
SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps&) override; |