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

Unified Diff: Source/core/animation/ConstantStyleInterpolation.h

Issue 1120003002: [Oilpan] Migrate most classes under core/animations to Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Intentional nullptr access Created 5 years, 7 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: Source/core/animation/ConstantStyleInterpolation.h
diff --git a/Source/core/animation/ConstantStyleInterpolation.h b/Source/core/animation/ConstantStyleInterpolation.h
index 504e06c3c2aa1824b8daacd2e9440f7e0e1b2b21..0ad6ed1e3a9aa25ae569c2fdbf349351ab7d5ad5 100644
--- a/Source/core/animation/ConstantStyleInterpolation.h
+++ b/Source/core/animation/ConstantStyleInterpolation.h
@@ -12,9 +12,9 @@ namespace blink {
class ConstantStyleInterpolation : public StyleInterpolation {
public:
- static PassRefPtrWillBeRawPtr<ConstantStyleInterpolation> create(CSSValue* value, CSSPropertyID id)
+ static ConstantStyleInterpolation* create(CSSValue* value, CSSPropertyID id)
{
- return adoptRefWillBeNoop(new ConstantStyleInterpolation(value, id));
+ return new ConstantStyleInterpolation(value, id);
}
virtual void apply(StyleResolverState& state) const override

Powered by Google App Engine
This is Rietveld 408576698