2011-01-20 Levi Weintraub <leviw@chromium.org>
authorleviw@chromium.org <leviw@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Jan 2011 01:31:52 +0000 (01:31 +0000)
committerleviw@chromium.org <leviw@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Jan 2011 01:31:52 +0000 (01:31 +0000)
        Unreviewed.

        Fixing build breakage.

        * editing/SelectionController.cpp:
        (WebCore::SelectionController::willBeModified):

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

Source/WebCore/ChangeLog
Source/WebCore/editing/SelectionController.cpp

index 24ce324..8bebc1c 100644 (file)
@@ -1,5 +1,14 @@
 2011-01-20  Levi Weintraub  <leviw@chromium.org>
 
+        Unreviewed.
+
+        Fixing build breakage.
+
+        * editing/SelectionController.cpp:
+        (WebCore::SelectionController::willBeModified):
+
+2011-01-20  Levi Weintraub  <leviw@chromium.org>
+
         Reviewed by Ryosuke Niwa.
 
         RTL: Caret goes to the opposite direction when pressing an arrow key after selection is made
index b8bcdda..564bf14 100644 (file)
@@ -313,7 +313,7 @@ void SelectionController::willBeModified(EAlteration alter, SelectionDirection d
     Position start = m_selection.start();
     Position end = m_selection.end();
 
-    bool baseIsStart;
+    bool baseIsStart = true;
 
     if (m_isDirectional) {
         // Make base and extent match start and end so we extend the user-visible selection.