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

Unified Diff: third_party/WebKit/Source/core/css/CSSKeyframesRule.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/css/CSSKeyframesRule.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp b/third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp
index f81050542d1123d4c880a229b882de7fa81bba98..de4d0c270fb88897b1540c38931f9ff8f1b3e940 100644
--- a/third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp
+++ b/third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp
@@ -31,6 +31,7 @@
#include "core/css/parser/CSSParser.h"
#include "core/frame/UseCounter.h"
#include "wtf/text/StringBuilder.h"
+#include <memory>
namespace blink {
@@ -74,7 +75,7 @@ void StyleRuleKeyframes::wrapperRemoveKeyframe(unsigned index)
int StyleRuleKeyframes::findKeyframeIndex(const String& key) const
{
- OwnPtr<Vector<double>> keys = CSSParser::parseKeyframeKeyList(key);
+ std::unique_ptr<Vector<double>> keys = CSSParser::parseKeyframeKeyList(key);
if (!keys)
return -1;
for (size_t i = m_keyframes.size(); i--; ) {
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSCalculationValue.cpp ('k') | third_party/WebKit/Source/core/css/CSSMatrix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698