iOS debug build fix after r200464.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 May 2016 21:16:36 +0000 (21:16 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 May 2016 21:16:36 +0000 (21:16 +0000)
* dom/EventContext.cpp:
(WebCore::TouchEventContext::checkReachability):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@200477 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/dom/EventContext.cpp

index df15b40..8915668 100644 (file)
@@ -1,3 +1,10 @@
+2016-05-05  Ryosuke Niwa  <rniwa@webkit.org>
+
+        iOS debug build fix after r200464.
+
+        * dom/EventContext.cpp:
+        (WebCore::TouchEventContext::checkReachability):
+
 2016-05-05  Simon Fraser  <simon.fraser@apple.com>
 
         Revert r200390, thus putting r199259 and r200161 and back.
index 91f7af9..dbd6cac 100644 (file)
@@ -128,7 +128,7 @@ void TouchEventContext::checkReachability(TouchList* touchList) const
 {
     size_t length = touchList->length();
     for (size_t i = 0; i < length; ++i)
-        ASSERT(isReachable(touchList->item(i)->target()->toNode()));
+        ASSERT(!isUnreachableNode(touchList->item(i)->target()->toNode()));
 }
 #endif