Changeset 57037 in webkit


Ignore:
Timestamp:
Apr 2, 2010 5:38:27 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-02 MORITA Hajime <morrita@google.com>

Reviewed by Alexey Proskuryakov.

https://bugs.webkit.org/show_bug.cgi?id=37011
Position::primaryDirection() should not use its own accessor.

No new tests. This is small clenaup with no behaviour change.

  • dom/Position.cpp: (WebCore::Position::primaryDirection):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r57036 r57037  
     12010-04-02  MORITA Hajime  <morrita@google.com>
     2
     3        Reviewed by Alexey Proskuryakov.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=37011
     6        Position::primaryDirection() should not use its own accessor.
     7
     8        No new tests. This is small clenaup with no behaviour change.
     9
     10        * dom/Position.cpp:
     11        (WebCore::Position::primaryDirection):
     12
    1132010-04-02  Eric Uhrhane  <ericu@chromium.org>
    214
  • trunk/WebCore/dom/Position.cpp

    r56989 r57037  
    11131113{
    11141114    TextDirection primaryDirection = LTR;
    1115     for (const RenderObject* r = node()->renderer(); r; r = r->parent()) {
     1115    for (const RenderObject* r = m_anchorNode->renderer(); r; r = r->parent()) {
    11161116        if (r->isBlockFlow()) {
    11171117            primaryDirection = r->style()->direction();
Note: See TracChangeset for help on using the changeset viewer.