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

Unified Diff: third_party/WebKit/Source/core/animation/Animation.cpp

Issue 2809543002: bindings: Pass is_null flag to attribute setters when they are nullable (Closed)
Patch Set: Created 3 years, 8 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/Animation.cpp
diff --git a/third_party/WebKit/Source/core/animation/Animation.cpp b/third_party/WebKit/Source/core/animation/Animation.cpp
index 56de1eb35efc75eba918e066a1d71393c6437358..bcabad5c046deb20ce34f9add2018c95b080f6ca 100644
--- a/third_party/WebKit/Source/core/animation/Animation.cpp
+++ b/third_party/WebKit/Source/core/animation/Animation.cpp
@@ -136,7 +136,7 @@ bool Animation::Limited(double current_time) const {
(playback_rate_ > 0 && current_time >= EffectEnd());
}
-void Animation::setCurrentTime(double new_current_time) {
+void Animation::setCurrentTime(double new_current_time, bool is_null) {
PlayStateUpdateScope update_scope(*this, kTimingUpdateOnDemand);
if (PlayStateInternal() == kIdle)
@@ -411,7 +411,7 @@ double Animation::CalculateCurrentTime() const {
return (timeline_->EffectiveTime() - start_time_) * playback_rate_;
}
-void Animation::setStartTime(double start_time) {
+void Animation::setStartTime(double start_time, bool is_null) {
PlayStateUpdateScope update_scope(*this, kTimingUpdateOnDemand);
if (start_time == start_time_)
« no previous file with comments | « third_party/WebKit/Source/core/animation/Animation.h ('k') | third_party/WebKit/Source/core/animation/AnimationTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698