| Index: third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.cpp b/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.cpp
|
| index 4717d51ce8b1307d0765fca6cec093b52a82e511..0fa892a557788429d1eb496688fc4ee50b5296fd 100644
|
| --- a/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.cpp
|
| +++ b/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.cpp
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "core/html/canvas/CanvasDrawListener.h"
|
|
|
| +#include <memory>
|
| +
|
| namespace blink {
|
|
|
| CanvasDrawListener::~CanvasDrawListener() {}
|
| @@ -23,7 +25,7 @@ void CanvasDrawListener::requestFrame()
|
| m_frameCaptureRequested = true;
|
| }
|
|
|
| -CanvasDrawListener::CanvasDrawListener(PassOwnPtr<WebCanvasCaptureHandler> handler)
|
| +CanvasDrawListener::CanvasDrawListener(std::unique_ptr<WebCanvasCaptureHandler> handler)
|
| : m_frameCaptureRequested(true)
|
| , m_handler(std::move(handler))
|
| {
|
|
|