Changeset 74953 in webkit


Ignore:
Timestamp:
Jan 3, 2011, 6:02:22 PM (14 years ago)
Author:
mitz@apple.com
Message:

Shrink HTMLTableCellElement
https://bugs.webkit.org/show_bug.cgi?id=51858

Reviewed by Simon Fraser.

  • html/HTMLTableCellElement.cpp:

(WebCore::HTMLTableCellElement::HTMLTableCellElement): Removed intialization of m_row and
m_col.

  • html/HTMLTableCellElement.h: Removed m_row and m_col and their accessors.
Location:
trunk/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r74952 r74953  
     12011-01-03  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Simon Fraser.
     4
     5        Shrink HTMLTableCellElement
     6        https://bugs.webkit.org/show_bug.cgi?id=51858
     7
     8        * html/HTMLTableCellElement.cpp:
     9        (WebCore::HTMLTableCellElement::HTMLTableCellElement): Removed intialization of m_row and
     10        m_col.
     11        * html/HTMLTableCellElement.h: Removed m_row and m_col and their accessors.
     12
    1132011-01-03  Darin Adler  <darin@apple.com>
    214
  • trunk/WebCore/html/HTMLTableCellElement.cpp

    r69868 r74953  
    4545inline HTMLTableCellElement::HTMLTableCellElement(const QualifiedName& tagName, Document* document)
    4646    : HTMLTablePartElement(tagName, document)
    47     , m_row(-1)
    48     , m_col(-1)
    4947    , m_rowSpan(1)
    5048    , m_colSpan(1)
  • trunk/WebCore/html/HTMLTableCellElement.h

    r69587 r74953  
    3737    int cellIndex() const;
    3838
    39     int col() const { return m_col; }
    40     void setCol(int col) { m_col = col; }
    41     int row() const { return m_row; }
    42     void setRow(int row) { m_row = row; }
    43 
    4439    int colSpan() const { return m_colSpan; }
    4540    int rowSpan() const { return m_rowSpan; }
     
    7065    virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const;
    7166
    72     int m_row;
    73     int m_col;
    7467    int m_rowSpan;
    7568    int m_colSpan;
Note: See TracChangeset for help on using the changeset viewer.