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

Unified Diff: third_party/WebKit/Source/core/animation/CSSColorInterpolationType.h

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/animation/CSSColorInterpolationType.h
diff --git a/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.h b/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.h
index 23c64f433dc0d3137b35e8518d1ec6eae62c55af..02f60d857e04e5fce3ba2d1a992e03cf8a7ea4b8 100644
--- a/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.h
+++ b/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.h
@@ -8,7 +8,6 @@
#include "core/CSSValueKeywords.h"
#include "core/animation/CSSInterpolationType.h"
#include "platform/graphics/Color.h"
-#include <memory>
namespace blink {
@@ -23,10 +22,10 @@ public:
InterpolationValue maybeConvertUnderlyingValue(const InterpolationEnvironment&) const final;
void apply(const InterpolableValue&, const NonInterpolableValue*, InterpolationEnvironment&) const final;
- static std::unique_ptr<InterpolableValue> createInterpolableColor(const Color&);
- static std::unique_ptr<InterpolableValue> createInterpolableColor(CSSValueID);
- static std::unique_ptr<InterpolableValue> createInterpolableColor(const StyleColor&);
- static std::unique_ptr<InterpolableValue> maybeCreateInterpolableColor(const CSSValue&);
+ static PassOwnPtr<InterpolableValue> createInterpolableColor(const Color&);
+ static PassOwnPtr<InterpolableValue> createInterpolableColor(CSSValueID);
+ static PassOwnPtr<InterpolableValue> createInterpolableColor(const StyleColor&);
+ static PassOwnPtr<InterpolableValue> maybeCreateInterpolableColor(const CSSValue&);
static Color resolveInterpolableColor(const InterpolableValue& interpolableColor, const StyleResolverState&, bool isVisited = false, bool isTextDecoration = false);
private:

Powered by Google App Engine
This is Rietveld 408576698