Index: third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp |
index fadc5d0b7c380978773bd660a2602b1bd5ce9e29..47e1b9e7eb0608f0c6b92cf8489307dd7d0a8ae5 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp |
@@ -29,6 +29,7 @@ |
#include "platform/animation/TimingFunction.h" |
#include "platform/v8_inspector/public/V8InspectorSession.h" |
#include "wtf/text/Base64.h" |
+#include <memory> |
namespace AnimationAgentState { |
static const char animationAgentEnabled[] = "animationAgentEnabled"; |
@@ -425,7 +426,7 @@ String InspectorAnimationAgent::createCSSId(blink::Animation& animation) |
Element* element = effect->target(); |
HeapVector<Member<CSSStyleDeclaration>> styles = m_cssAgent->matchingStyles(element); |
- OwnPtr<WebCryptoDigestor> digestor = createDigestor(HashAlgorithmSha1); |
+ std::unique_ptr<WebCryptoDigestor> digestor = createDigestor(HashAlgorithmSha1); |
addStringToDigestor(digestor.get(), type); |
addStringToDigestor(digestor.get(), animation.id()); |
for (CSSPropertyID property : cssProperties) { |