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

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

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 47e1b9e7eb0608f0c6b92cf8489307dd7d0a8ae5..fadc5d0b7c380978773bd660a2602b1bd5ce9e29 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp
@@ -29,7 +29,6 @@
#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";
@@ -426,7 +425,7 @@ String InspectorAnimationAgent::createCSSId(blink::Animation& animation)
Element* element = effect->target();
HeapVector<Member<CSSStyleDeclaration>> styles = m_cssAgent->matchingStyles(element);
- std::unique_ptr<WebCryptoDigestor> digestor = createDigestor(HashAlgorithmSha1);
+ OwnPtr<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