Changeset 146117 in webkit


Ignore:
Timestamp:
Mar 18, 2013 1:56:06 PM (11 years ago)
Author:
hans@chromium.org
Message:

Fix GridTrackSize::operator==
https://bugs.webkit.org/show_bug.cgi?id=112501

Reviewed by Eric Seidel.

Source/WebCore:

There was a missing "other." in the function.

This was found by experimenting with a potential new Clang warning.

Test: fast/css-grid-layout/grid-dynamic-updates-relayout.html

  • rendering/style/GridTrackSize.h:

(WebCore::GridTrackSize::operator==):

LayoutTests:

Add a test to check that style changes cause relayout correctly.

  • fast/css-grid-layout/grid-dynamic-updates-relayout-expected.txt: Added.
  • fast/css-grid-layout/grid-dynamic-updates-relayout.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r146115 r146117  
     12013-03-18  Hans Wennborg  <hans@chromium.org>
     2
     3        Fix GridTrackSize::operator==
     4        https://bugs.webkit.org/show_bug.cgi?id=112501
     5
     6        Reviewed by Eric Seidel.
     7
     8        Add a test to check that style changes cause relayout correctly.
     9
     10        * fast/css-grid-layout/grid-dynamic-updates-relayout-expected.txt: Added.
     11        * fast/css-grid-layout/grid-dynamic-updates-relayout.html: Added.
     12
    1132013-03-15  Jeffrey Pfau  <jpfau@apple.com>
    214
  • trunk/Source/WebCore/ChangeLog

    r146116 r146117  
     12013-03-18  Hans Wennborg  <hans@chromium.org>
     2
     3        Fix GridTrackSize::operator==
     4        https://bugs.webkit.org/show_bug.cgi?id=112501
     5
     6        Reviewed by Eric Seidel.
     7
     8        There was a missing "other." in the function.
     9
     10        This was found by experimenting with a potential new Clang warning.
     11
     12        Test: fast/css-grid-layout/grid-dynamic-updates-relayout.html
     13
     14        * rendering/style/GridTrackSize.h:
     15        (WebCore::GridTrackSize::operator==):
     16
    1172013-03-18  Alec Flett  <alecflett@chromium.org>
    218
  • trunk/Source/WebCore/rendering/style/GridTrackSize.h

    r145840 r146117  
    9696    bool operator==(const GridTrackSize& other) const
    9797    {
    98         return m_type == other.m_type && m_minTrackBreadth == other.m_minTrackBreadth && m_maxTrackBreadth == m_maxTrackBreadth;
     98        return m_type == other.m_type && m_minTrackBreadth == other.m_minTrackBreadth && m_maxTrackBreadth == other.m_maxTrackBreadth;
    9999    }
    100100
Note: See TracChangeset for help on using the changeset viewer.