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

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

Issue 939623002: Add TypeChecking=Unrestricted to Web Animation APIs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Drop AnimationAnimationPlayerTest.SetCurrentTimeUnrestrictedDouble Created 5 years, 10 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/AnimationNodeTiming.h
diff --git a/Source/core/animation/AnimationNodeTiming.h b/Source/core/animation/AnimationNodeTiming.h
index d68c98e2e821e4919a800cbef6b656cc77316b89..b6593f1d0889c6a36b0721ac358124c7a8a55e5a 100644
--- a/Source/core/animation/AnimationNodeTiming.h
+++ b/Source/core/animation/AnimationNodeTiming.h
@@ -12,7 +12,7 @@
namespace blink {
-class DoubleOrString;
+class UnrestrictedDoubleOrString;
class AnimationNodeTiming : public RefCountedWillBeGarbageCollectedFinalized<AnimationNodeTiming>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
@@ -23,7 +23,7 @@ public:
String fill();
double iterationStart();
double iterations();
- void duration(DoubleOrString&);
+ void duration(UnrestrictedDoubleOrString&);
double playbackRate();
String direction();
String easing();
@@ -33,7 +33,7 @@ public:
void setFill(String);
void setIterationStart(double);
void setIterations(double);
- void setDuration(const DoubleOrString&);
+ void setDuration(const UnrestrictedDoubleOrString&);
void setPlaybackRate(double);
void setDirection(String);
void setEasing(String);
« no previous file with comments | « LayoutTests/web-animations-api/timed-item-expected.txt ('k') | Source/core/animation/AnimationNodeTiming.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698