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

Unified Diff: third_party/WebKit/Source/core/css/StyleRuleKeyframe.h

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/StyleRuleKeyframe.h
diff --git a/third_party/WebKit/Source/core/css/StyleRuleKeyframe.h b/third_party/WebKit/Source/core/css/StyleRuleKeyframe.h
index 8d5c3cb3c669ef20302574c09874d51227f0cd23..34cb9ac12bcb0e12722e4f0c094fe03a66127cb1 100644
--- a/third_party/WebKit/Source/core/css/StyleRuleKeyframe.h
+++ b/third_party/WebKit/Source/core/css/StyleRuleKeyframe.h
@@ -6,6 +6,7 @@
#define StyleRuleKeyframe_h
#include "core/css/StyleRule.h"
+#include <memory>
namespace blink {
@@ -14,7 +15,7 @@ class StylePropertySet;
class StyleRuleKeyframe final : public StyleRuleBase {
public:
- static StyleRuleKeyframe* create(PassOwnPtr<Vector<double>> keys, StylePropertySet* properties)
+ static StyleRuleKeyframe* create(std::unique_ptr<Vector<double>> keys, StylePropertySet* properties)
{
return new StyleRuleKeyframe(std::move(keys), properties);
}
@@ -34,7 +35,7 @@ public:
DECLARE_TRACE_AFTER_DISPATCH();
private:
- StyleRuleKeyframe(PassOwnPtr<Vector<double>>, StylePropertySet*);
+ StyleRuleKeyframe(std::unique_ptr<Vector<double>>, StylePropertySet*);
Member<StylePropertySet> m_properties;
Vector<double> m_keys;
« no previous file with comments | « third_party/WebKit/Source/core/css/SelectorFilter.cpp ('k') | third_party/WebKit/Source/core/css/StyleRuleKeyframe.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698