Index: third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.h |
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.h b/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.h |
index b03a04d211830e54efba7e4f3d02429abdb19897..e0a654dbbe1491f475f5a180fe7ed6f9ab780552 100644 |
--- a/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.h |
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.h |
@@ -9,6 +9,7 @@ |
#include "platform/heap/Handle.h" |
#include "public/platform/WebCanvasCaptureHandler.h" |
#include "wtf/PassRefPtr.h" |
+#include <memory> |
class SkImage; |
@@ -22,10 +23,10 @@ public: |
void requestFrame(); |
protected: |
- explicit CanvasDrawListener(PassOwnPtr<WebCanvasCaptureHandler>); |
+ explicit CanvasDrawListener(std::unique_ptr<WebCanvasCaptureHandler>); |
bool m_frameCaptureRequested; |
- OwnPtr<WebCanvasCaptureHandler> m_handler; |
+ std::unique_ptr<WebCanvasCaptureHandler> m_handler; |
}; |
} // namespace blink |