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