Changeset 85730 in webkit


Ignore:
Timestamp:
May 4, 2011 4:35:45 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-05-04 Luke Macpherson <macpherson@chromium.org>

Reviewed by Darin Adler.

Remove redundant conversion from auto table layout to auto table layout in CSSStyleSelector::applyProperty()
https://bugs.webkit.org/show_bug.cgi?id=60011

No new tests added as no functionality changed.

  • css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applyProperty): Remove reundant check for auto table layout.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r85728 r85730  
     12011-05-04  Luke Macpherson   <macpherson@chromium.org>
     2
     3        Reviewed by Darin Adler.
     4
     5        Remove redundant conversion from auto table layout to auto table layout in CSSStyleSelector::applyProperty()
     6        https://bugs.webkit.org/show_bug.cgi?id=60011
     7
     8        No new tests added as no functionality changed.
     9
     10        * css/CSSStyleSelector.cpp:
     11        (WebCore::CSSStyleSelector::applyProperty):
     12        Remove reundant check for auto table layout.
     13
    1142011-05-04  Mihai Parparita  <mihaip@chromium.org>
    215
  • trunk/Source/WebCore/css/CSSStyleSelector.cpp

    r85603 r85730  
    37443744        HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE(position, Position)
    37453745        return;
    3746     case CSSPropertyTableLayout: {
    3747         HANDLE_INHERIT_AND_INITIAL(tableLayout, TableLayout)
    3748 
    3749         ETableLayout l = *primitiveValue;
    3750         if (l == TAUTO)
    3751             l = RenderStyle::initialTableLayout();
    3752 
    3753         m_style->setTableLayout(l);
    3754         return;
    3755     }
    3756        
     3746    case CSSPropertyTableLayout:
     3747        HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE(tableLayout, TableLayout)
     3748        return;
    37573749    case CSSPropertyUnicodeBidi:
    37583750        HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE(unicodeBidi, UnicodeBidi)
Note: See TracChangeset for help on using the changeset viewer.