Title: [286909] trunk/Source/WebCore
Revision
286909
Author
[email protected]
Date
2021-12-11 05:36:37 -0800 (Sat, 11 Dec 2021)

Log Message

Unreviewed. CSSCalcOperationNode::allowsNegativePercentageReference() should be const member function.

In r286897, the above method's const keyword was missed out, so add it.

No new tests, no new behaviours.

* css/calc/CSSCalcOperationNode.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (286908 => 286909)


--- trunk/Source/WebCore/ChangeLog	2021-12-11 09:00:51 UTC (rev 286908)
+++ trunk/Source/WebCore/ChangeLog	2021-12-11 13:36:37 UTC (rev 286909)
@@ -1,3 +1,13 @@
+2021-12-11  Joonghun Park  <[email protected]>
+
+        Unreviewed. CSSCalcOperationNode::allowsNegativePercentageReference() should be const member function.
+
+        In r286897, the above method's const keyword was missed out, so add it.
+
+        No new tests, no new behaviours.
+
+        * css/calc/CSSCalcOperationNode.h:
+
 2021-12-11  Jer Noble  <[email protected]>
 
         Add an experimental trackConfiguration accessor on AudioTrack & VideoTrack.

Modified: trunk/Source/WebCore/css/calc/CSSCalcOperationNode.h (286908 => 286909)


--- trunk/Source/WebCore/css/calc/CSSCalcOperationNode.h	2021-12-11 09:00:51 UTC (rev 286908)
+++ trunk/Source/WebCore/css/calc/CSSCalcOperationNode.h	2021-12-11 13:36:37 UTC (rev 286909)
@@ -73,7 +73,7 @@
     
     bool canCombineAllChildren() const;
 
-    bool allowsNegativePercentageReference() { return m_allowsNegativePercentageReference; }
+    bool allowsNegativePercentageReference() const { return m_allowsNegativePercentageReference; }
     void setAllowsNegativePercentageReference() { m_allowsNegativePercentageReference = true; }
 
     bool isIdentity() const { return m_children.size() == 1 && (m_operator == CalcOperator::Min || m_operator == CalcOperator::Max || m_operator == CalcOperator::Add || m_operator == CalcOperator::Multiply); }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to