Changeset 167744 in webkit


Ignore:
Timestamp:
Apr 23, 2014 9:24:30 PM (10 years ago)
Author:
rniwa@webkit.org
Message:

REGRESSION (r157328): popover to check into flight ba.com dismisses instantly when focusing form
https://bugs.webkit.org/show_bug.cgi?id=131949

Address the review comment.

  • dom/EventDispatcher.cpp:

(WebCore::EventRelatedNodeResolver::findHostOfTreeScopeInTargetTreeScope):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r167743 r167744  
     12014-04-23  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        REGRESSION (r157328): popover to check into flight ba.com dismisses instantly when focusing form
     4        https://bugs.webkit.org/show_bug.cgi?id=131949
     5
     6        Address the review comment.
     7
     8        * dom/EventDispatcher.cpp:
     9        (WebCore::EventRelatedNodeResolver::findHostOfTreeScopeInTargetTreeScope):
     10
    1112014-04-23  Andreas Kling  <akling@apple.com>
    212
  • trunk/Source/WebCore/dom/EventDispatcher.cpp

    r167689 r167744  
    178178    {
    179179        ASSERT(&targetScope != &startingTreeScope);
    180         Node* previousHost = 0;
     180        Node* previousHost = nullptr;
    181181        for (const TreeScope* scope = &startingTreeScope; scope; scope = scope->parentTreeScope()) {
    182182            if (scope == &targetScope) {
     
    190190                ASSERT_WITH_SECURITY_IMPLICATION(!scope->parentTreeScope());
    191191        }
    192         return 0;
     192        return nullptr;
    193193    }
    194194
Note: See TracChangeset for help on using the changeset viewer.