Index: third_party/WebKit/Source/core/html/HTMLVideoElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp |
index 04ae3c0f4c4b88d04dc13ea5d87e69732cfcd376..a68cc16329cda8d5a92dfc76f98cb94e83edc0e4 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp |
@@ -46,7 +46,6 @@ |
#include "platform/graphics/ImageBuffer.h" |
#include "platform/graphics/gpu/Extensions3DUtil.h" |
#include "public/platform/WebCanvas.h" |
-#include <memory> |
namespace blink { |
@@ -295,7 +294,7 @@ PassRefPtr<Image> HTMLVideoElement::getSourceImageForCanvas(SourceImageStatus* s |
IntSize intrinsicSize(videoWidth(), videoHeight()); |
// FIXME: Not sure if we dhould we be doing anything with the AccelerationHint argument here? |
- std::unique_ptr<ImageBuffer> imageBuffer = ImageBuffer::create(intrinsicSize); |
+ OwnPtr<ImageBuffer> imageBuffer = ImageBuffer::create(intrinsicSize); |
if (!imageBuffer) { |
*status = InvalidSourceImageStatus; |
return nullptr; |