Changeset 121132 in webkit
- Timestamp:
- Jun 24, 2012, 8:16:07 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/css3/calc/transition-start-end-with-calc-expected.txt (added)
-
LayoutTests/css3/calc/transition-start-end-with-calc.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/platform/CalculationValue.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r121128 r121132 1 2012-06-24 Mike Lawther <mikelawther@chromium.org> 2 3 CSS3 calc: transitions starting and ending with a calc expression move to end state 4 https://bugs.webkit.org/show_bug.cgi?id=89738 5 6 Reviewed by Tony Chang. 7 8 * css3/calc/transition-start-end-with-calc-expected.txt: Added. 9 * css3/calc/transition-start-end-with-calc.html: Added. 10 1 11 2012-06-21 Kent Tamura <tkent@chromium.org> 2 12 -
trunk/Source/WebCore/ChangeLog
r121131 r121132 1 2012-06-24 Mike Lawther <mikelawther@chromium.org> 2 3 CSS3 calc: transitions starting and ending with a calc expression move to end state 4 https://bugs.webkit.org/show_bug.cgi?id=89738 5 6 Reviewed by Tony Chang. 7 8 The equality operator for CalculationValue was not working as expected. The 9 equality operator for OwnPtr is private, as OwnPtrs should always be different. 10 The OwnPtrs ended up getting cast to bool before being compared, and the 11 comparison was always returning true. 12 13 The comparison between OwnPtrs has been removed. It doesn't add value to compare 14 the raw pointers either, since OwnPtrs should always be unique. We cannot 15 ASSERT the uniqueness though, as it is legitimate to compare a CalculationValue 16 to itself. 17 18 Test: css3/calc/transition-start-end-with-calc.html 19 20 * platform/CalculationValue.h: 21 (WebCore::CalculationValue::operator==): 22 1 23 2012-06-24 MORITA Hajime <morrita@google.com> 2 24 -
trunk/Source/WebCore/platform/CalculationValue.h
r116914 r121132 87 87 bool operator==(const CalculationValue& o) const 88 88 { 89 return m_value == o.m_value ||*(m_value.get()) == *(o.m_value.get());89 return *(m_value.get()) == *(o.m_value.get()); 90 90 } 91 91
Note:
See TracChangeset
for help on using the changeset viewer.