| Index: third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
|
| index be8cab138964acf9a47307b39c97dc8194edd8f6..3b9c1c0d7374661fd454b718ba149e6227f347c6 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
|
| @@ -297,12 +297,12 @@ sk_sp<PaintRecord> GraphicsContext::endRecording() {
|
| return record;
|
| }
|
|
|
| -void GraphicsContext::drawRecord(const PaintRecord* record) {
|
| +void GraphicsContext::drawRecord(sk_sp<const PaintRecord> record) {
|
| if (contextDisabled() || !record || record->cullRect().isEmpty())
|
| return;
|
|
|
| DCHECK(m_canvas);
|
| - m_canvas->drawPicture(record);
|
| + m_canvas->drawPicture(std::move(record));
|
| }
|
|
|
| void GraphicsContext::compositeRecord(sk_sp<PaintRecord> record,
|
|
|