Build fix after r163739.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 9 Feb 2014 05:48:00 +0000 (05:48 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 9 Feb 2014 05:48:00 +0000 (05:48 +0000)
* WebCoreSupport/WebFrameIOS.mm:
(-[WebFrame collapseSelection]):
(-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):

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

Source/WebKit/ios/ChangeLog
Source/WebKit/ios/WebCoreSupport/WebFrameIOS.mm

index 7eab1f8d60ffedfe0d3ecaa96a065f8124f1ca56..23205cb39945bf9fdd65c690d737ecf713def2a7 100644 (file)
@@ -1,3 +1,11 @@
+2014-02-08  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Build fix after r163739.
+
+        * WebCoreSupport/WebFrameIOS.mm:
+        (-[WebFrame collapseSelection]):
+        (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
+
 2014-02-03  Dan Bernstein  <mitz@apple.com>
 
         More iOS build fixing.
index 2c83e30dedcd6eacf4e469e940cac8a0b7fecd0e..c3069a586da6cfe7f19b6cece11724ec5e3e6c5c 100644 (file)
@@ -185,7 +185,7 @@ using namespace WebCore;
     if ([self selectionState] == WebTextSelectionStateRange) {
         Frame *frame = [self coreFrame];
         FrameSelection& frameSelection = frame->selection();
-        VisiblePosition end(frameSelection.end());
+        VisiblePosition end(frameSelection.selection().end());
         frameSelection.moveTo(end);
     }
 }
@@ -500,7 +500,7 @@ using namespace WebCore;
         frameSelection.moveTo(frameSelection.selection().start(), frameSelection.selection().end());
     
     if (frameSelection.selection().isCaret()) {
-        VisiblePosition pos(frameSelection.end());
+        VisiblePosition pos(frameSelection.selection().end());
         if (isStartOfLine(pos) && isEndOfLine(pos)) {
             VisiblePosition next(pos.next());
             if (next.isNotNull())
@@ -510,7 +510,7 @@ using namespace WebCore;
             while (pos.isNotNull()) {
                 VisiblePosition wordStart(startOfWord(pos));
                 if (wordStart != pos) {
-                    frameSelection.moveTo(wordStart, frameSelection.end());
+                    frameSelection.moveTo(wordStart, frameSelection.selection().end());
                     break;
                 }
                 pos = pos.previous();