iOS build fix after r164319.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Feb 2014 22:54:04 +0000 (22:54 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Feb 2014 22:54:04 +0000 (22:54 +0000)
* editing/FrameSelection.cpp:
(WebCore::FrameSelection::setSelectedRange):

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

Source/WebCore/ChangeLog
Source/WebCore/editing/FrameSelection.cpp

index 3a9eb1ad4f8abefdd523ec7cf5147a172617a13e..6f68d70911a374adb70abe7e77fb7eeb89f964ba 100644 (file)
@@ -1,3 +1,10 @@
+2014-02-18  Ryosuke Niwa  <rniwa@webkit.org>
+
+        iOS build fix after r164319.
+
+        * editing/FrameSelection.cpp:
+        (WebCore::FrameSelection::setSelectedRange):
+
 2014-02-18  Samuel White  <samuel_white@apple.com>
 
         AX: Searching for "immediate descendants only" can return unexpected results.
index 4575a47058f1fa70e768ad0d51c572b15bc88a78..dc49fcdf1ed3736b5337cdc65a95f7567c986310 100644 (file)
@@ -1703,7 +1703,7 @@ bool FrameSelection::setSelectedRange(Range* range, EAffinity affinity, bool clo
 
 #if PLATFORM(IOS)
     // FIXME: Why do we need this check only in iOS?
-    if (range->startContainer() && range->endContainer() && newSelection.isNull())
+    if (range->startContainer() && range->endContainer() && newSelection.isNone())
         return false;
 #endif