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

Unified Diff: third_party/WebKit/Source/core/css/CSSKeyframesRule.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/css/CSSKeyframesRule.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp b/third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp
index de4d0c270fb88897b1540c38931f9ff8f1b3e940..f81050542d1123d4c880a229b882de7fa81bba98 100644
--- a/third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp
+++ b/third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp
@@ -31,7 +31,6 @@
#include "core/css/parser/CSSParser.h"
#include "core/frame/UseCounter.h"
#include "wtf/text/StringBuilder.h"
-#include <memory>
namespace blink {
@@ -75,7 +74,7 @@ void StyleRuleKeyframes::wrapperRemoveKeyframe(unsigned index)
int StyleRuleKeyframes::findKeyframeIndex(const String& key) const
{
- std::unique_ptr<Vector<double>> keys = CSSParser::parseKeyframeKeyList(key);
+ OwnPtr<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