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

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

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.h
diff --git a/third_party/WebKit/Source/core/animation/Animation.h b/third_party/WebKit/Source/core/animation/Animation.h
index 88feec8c320fa27a4b0e458227efd4426e5da1a5..e45b9be09c77028d9cbfa4b18f6a23153125c1f7 100644
--- a/third_party/WebKit/Source/core/animation/Animation.h
+++ b/third_party/WebKit/Source/core/animation/Animation.h
@@ -91,7 +91,7 @@ class CORE_EXPORT Animation final : public EventTargetWithInlineData,
double currentTime(bool& is_null);
double currentTime();
- void setCurrentTime(double new_current_time);
+ void setCurrentTime(double new_current_time, bool is_null);
double CurrentTimeInternal() const;
double UnlimitedCurrentTimeInternal() const;
@@ -136,7 +136,7 @@ class CORE_EXPORT Animation final : public EventTargetWithInlineData,
double startTime(bool& is_null) const;
double startTime() const;
double StartTimeInternal() const { return start_time_; }
- void setStartTime(double);
+ void setStartTime(double, bool is_null);
void SetStartTimeInternal(double);
const AnimationEffectReadOnly* effect() const { return content_.Get(); }

Powered by Google App Engine
This is Rietveld 408576698