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

Unified Diff: third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.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/animation/FilterInterpolationFunctions.h
diff --git a/third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.h b/third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.h
index 0f9c6c96efb21ea667f778c005f189f9466401d5..38f18a09dea555439342656a4ff791cbba0c28dd 100644
--- a/third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.h
+++ b/third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.h
@@ -7,6 +7,7 @@
#include "core/animation/InterpolationValue.h"
#include "platform/heap/Handle.h"
+#include <memory>
namespace blink {
@@ -18,7 +19,7 @@ namespace FilterInterpolationFunctions {
InterpolationValue maybeConvertCSSFilter(const CSSValue&);
InterpolationValue maybeConvertFilter(const FilterOperation&, double zoom);
-PassOwnPtr<InterpolableValue> createNoneValue(const NonInterpolableValue&);
+std::unique_ptr<InterpolableValue> createNoneValue(const NonInterpolableValue&);
bool filtersAreCompatible(const NonInterpolableValue&, const NonInterpolableValue&);
FilterOperation* createFilter(const InterpolableValue&, const NonInterpolableValue&, const StyleResolverState&);

Powered by Google App Engine
This is Rietveld 408576698