Index: third_party/WebKit/Source/modules/media_capabilities/MediaCapabilities.cpp |
diff --git a/third_party/WebKit/Source/modules/media_capabilities/MediaCapabilities.cpp b/third_party/WebKit/Source/modules/media_capabilities/MediaCapabilities.cpp |
index be35e6b285f96c80dd167407c75f3ccf2c5e754a..38f780fb1cb3d2a01f024ac5e298c19e10dfcc35 100644 |
--- a/third_party/WebKit/Source/modules/media_capabilities/MediaCapabilities.cpp |
+++ b/third_party/WebKit/Source/modules/media_capabilities/MediaCapabilities.cpp |
@@ -137,7 +137,7 @@ ScriptPromise MediaCapabilities::encodingInfo( |
return promise; |
} |
- WebMediaRecorderHandler* handler = |
+ std::unique_ptr<WebMediaRecorderHandler> handler = |
Platform::Current()->CreateMediaRecorderHandler(); |
if (!handler) { |
resolver->Reject(DOMException::Create( |