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