Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(463)

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698