| Index: third_party/WebKit/Source/platform/graphics/GraphicsContext.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContext.h b/third_party/WebKit/Source/platform/graphics/GraphicsContext.h
|
| index 1cf648d8dad969a124dbf56a26af869171d70246..8e431b5269413f0bd4268374a8c9244384bd4017 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsContext.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsContext.h
|
| @@ -211,6 +211,9 @@ public:
|
| // are stored in a display list that can be replayed at a later time. Pass in the bounding
|
| // rectangle for the content in the list.
|
| void beginRecording(const FloatRect&);
|
| + // Returns a picture with any recorded draw commands since the prerequisite call to
|
| + // beginRecording(), or nullptr if the canvas is disabled. The canvas should only be disabled in
|
| + // certain testing situations.
|
| PassRefPtr<SkPicture> endRecording();
|
|
|
| void setShadow(const FloatSize& offset, float blur, const Color&,
|
|
|