Title: [287708] trunk/Source/WebCore
Revision
287708
Author
[email protected]
Date
2022-01-06 11:59:35 -0800 (Thu, 06 Jan 2022)

Log Message

Remove Animation::operator=
https://bugs.webkit.org/show_bug.cgi?id=234915

Reviewed by Yusuke Suzuki.

This doesn't seem to be required, so let's remove it.

* platform/animation/Animation.cpp:
(WebCore::Animation::operator=): Deleted.
* platform/animation/Animation.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (287707 => 287708)


--- trunk/Source/WebCore/ChangeLog	2022-01-06 19:57:38 UTC (rev 287707)
+++ trunk/Source/WebCore/ChangeLog	2022-01-06 19:59:35 UTC (rev 287708)
@@ -1,5 +1,18 @@
 2022-01-06  Antoine Quint  <[email protected]>
 
+        Remove Animation::operator=
+        https://bugs.webkit.org/show_bug.cgi?id=234915
+
+        Reviewed by Yusuke Suzuki.
+
+        This doesn't seem to be required, so let's remove it.
+
+        * platform/animation/Animation.cpp:
+        (WebCore::Animation::operator=): Deleted.
+        * platform/animation/Animation.h:
+
+2022-01-06  Antoine Quint  <[email protected]>
+
         [Web Animations] inserting a rule within a @keyframes rule should update animations
         https://bugs.webkit.org/show_bug.cgi?id=234895
 

Modified: trunk/Source/WebCore/platform/animation/Animation.cpp (287707 => 287708)


--- trunk/Source/WebCore/platform/animation/Animation.cpp	2022-01-06 19:57:38 UTC (rev 287707)
+++ trunk/Source/WebCore/platform/animation/Animation.cpp	2022-01-06 19:59:35 UTC (rev 287708)
@@ -94,35 +94,6 @@
 {
 }
 
-Animation& Animation::operator=(const Animation& o)
-{
-    m_name = o.m_name;
-    m_iterationCount = o.m_iterationCount;
-    m_delay = o.m_delay;
-    m_duration = o.m_duration;
-    m_timingFunction = o.m_timingFunction;
-    m_nameStyleScopeOrdinal = o.m_nameStyleScopeOrdinal;
-    m_property = o.m_property;
-    m_direction = o.m_direction;
-    m_fillMode = o.m_fillMode;
-    m_playState = o.m_playState;
-    m_compositeOperation = o.m_compositeOperation;
-
-    m_delaySet = o.m_delaySet;
-    m_directionSet = o.m_directionSet;
-    m_durationSet = o.m_durationSet;
-    m_fillModeSet = o.m_fillModeSet;
-    m_iterationCountSet = o.m_iterationCountSet;
-    m_nameSet = o.m_nameSet;
-    m_playStateSet = o.m_playStateSet;
-    m_propertySet = o.m_propertySet;
-    m_timingFunctionSet = o.m_timingFunctionSet;
-    m_compositeOperationSet = o.m_compositeOperationSet;
-    m_isNone = o.m_isNone;
-
-    return *this;
-}
-
 Animation::~Animation() = default;
 
 bool Animation::animationsMatch(const Animation& other, bool matchProperties) const

Modified: trunk/Source/WebCore/platform/animation/Animation.h (287707 => 287708)


--- trunk/Source/WebCore/platform/animation/Animation.h	2022-01-06 19:57:38 UTC (rev 287707)
+++ trunk/Source/WebCore/platform/animation/Animation.h	2022-01-06 19:59:35 UTC (rev 287708)
@@ -177,8 +177,6 @@
     bool isPropertyFilled() const { return m_propertyFilled; }
     bool isTimingFunctionFilled() const { return m_timingFunctionFilled; }
 
-    Animation& operator=(const Animation&);
-
     // return true if all members of this class match (excluding m_next)
     bool animationsMatch(const Animation&, bool matchProperties = true) const;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to