| Index: src/core/SkPictureRecord.cpp
|
| diff --git a/src/core/SkPictureRecord.cpp b/src/core/SkPictureRecord.cpp
|
| index 042e6a39cb9602bf929b8cfaed6e7bbd57c5353a..a3b2522a829d52f2d0cbb8f1524302bf13ee7354 100644
|
| --- a/src/core/SkPictureRecord.cpp
|
| +++ b/src/core/SkPictureRecord.cpp
|
| @@ -28,8 +28,8 @@ static const uint32_t kSaveSize = 2 * kUInt32Size;
|
| static const uint32_t kSaveLayerNoBoundsSize = 4 * kUInt32Size;
|
| static const uint32_t kSaveLayerWithBoundsSize = 4 * kUInt32Size + sizeof(SkRect);
|
|
|
| -SkPictureRecord::SkPictureRecord(uint32_t flags, SkBaseDevice* device)
|
| - : INHERITED(device)
|
| +SkPictureRecord::SkPictureRecord(const SkISize& dimensions, uint32_t flags)
|
| + : INHERITED(dimensions.width(), dimensions.height())
|
| , fBoundingHierarchy(NULL)
|
| , fStateTree(NULL)
|
| , fFlattenableHeap(HEAP_BLOCK_SIZE)
|
|
|