Title: [167744] trunk/Source/WebCore
Revision
167744
Author
rn...@webkit.org
Date
2014-04-23 21:24:30 -0700 (Wed, 23 Apr 2014)

Log 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):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (167743 => 167744)


--- trunk/Source/WebCore/ChangeLog	2014-04-24 04:11:50 UTC (rev 167743)
+++ trunk/Source/WebCore/ChangeLog	2014-04-24 04:24:30 UTC (rev 167744)
@@ -1,3 +1,13 @@
+2014-04-23  Ryosuke Niwa  <rn...@webkit.org>
+
+        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):
+
 2014-04-23  Andreas Kling  <akl...@apple.com>
 
         CachedResourceLoader hoards URLs indefinitely for no good reason.

Modified: trunk/Source/WebCore/dom/EventDispatcher.cpp (167743 => 167744)


--- trunk/Source/WebCore/dom/EventDispatcher.cpp	2014-04-24 04:11:50 UTC (rev 167743)
+++ trunk/Source/WebCore/dom/EventDispatcher.cpp	2014-04-24 04:24:30 UTC (rev 167744)
@@ -177,7 +177,7 @@
     static Node* findHostOfTreeScopeInTargetTreeScope(const TreeScope& startingTreeScope, const TreeScope& targetScope)
     {
         ASSERT(&targetScope != &startingTreeScope);
-        Node* previousHost = 0;
+        Node* previousHost = nullptr;
         for (const TreeScope* scope = &startingTreeScope; scope; scope = scope->parentTreeScope()) {
             if (scope == &targetScope) {
                 ASSERT(previousHost);
@@ -189,7 +189,7 @@
             else
                 ASSERT_WITH_SECURITY_IMPLICATION(!scope->parentTreeScope());
         }
-        return 0;
+        return nullptr;
     }
 
 private:
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to