| Index: third_party/WebKit/Source/core/css/StyleRuleKeyframe.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/StyleRuleKeyframe.cpp b/third_party/WebKit/Source/core/css/StyleRuleKeyframe.cpp
|
| index db237ada9f1cf44247d601d67bd2683a2dedfb5e..77423a3ad29435b5812ab377229cb5f6cd3e85ee 100644
|
| --- a/third_party/WebKit/Source/core/css/StyleRuleKeyframe.cpp
|
| +++ b/third_party/WebKit/Source/core/css/StyleRuleKeyframe.cpp
|
| @@ -7,10 +7,11 @@
|
| #include "core/css/StylePropertySet.h"
|
| #include "core/css/parser/CSSParser.h"
|
| #include "wtf/text/StringBuilder.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| -StyleRuleKeyframe::StyleRuleKeyframe(PassOwnPtr<Vector<double>> keys, StylePropertySet* properties)
|
| +StyleRuleKeyframe::StyleRuleKeyframe(std::unique_ptr<Vector<double>> keys, StylePropertySet* properties)
|
| : StyleRuleBase(Keyframe)
|
| , m_properties(properties)
|
| , m_keys(*keys)
|
| @@ -36,7 +37,7 @@ bool StyleRuleKeyframe::setKeyText(const String& keyText)
|
| {
|
| ASSERT(!keyText.isNull());
|
|
|
| - OwnPtr<Vector<double>> keys = CSSParser::parseKeyframeKeyList(keyText);
|
| + std::unique_ptr<Vector<double>> keys = CSSParser::parseKeyframeKeyList(keyText);
|
| if (!keys || keys->isEmpty())
|
| return false;
|
|
|
|
|