Reviewed by Darin.
authorvicki <vicki@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Feb 2005 19:59:10 +0000 (19:59 +0000)
committervicki <vicki@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Feb 2005 19:59:10 +0000 (19:59 +0000)
- fix deployment build on Panther

        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView changeBaseWritingDirection:]): ifdef out NSWritingDirectionNatural
        (-[WebHTMLView toggleBaseWritingDirection:]): fix a spacing issue

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

WebKit/ChangeLog
WebKit/WebView.subproj/WebHTMLView.m

index 4de4aaf932c4bbd10850792104656cacecd172d4..3e9b7e1fd6c43e6094952e8f1b5497f9ccd57808 100644 (file)
@@ -1,3 +1,13 @@
+2005-02-11  Vicki Murley  <vicki@apple.com>
+
+        Reviewed by Darin.
+
+       - fix deployment build on Panther
+        * WebView.subproj/WebHTMLView.m:
+        (-[WebHTMLView changeBaseWritingDirection:]): ifdef out NSWritingDirectionNatural
+        (-[WebHTMLView toggleBaseWritingDirection:]): fix a spacing issue
+
 2005-02-10  David Harrison  <harrison@apple.com>
 
         Reviewed by Richard.
index 2641a76a2a5bb24ad1cbebf0efc66990e86419cf..b27ba4ace553734a20863b78b1d4a8c80fae7963 100644 (file)
@@ -4438,7 +4438,7 @@ static DOMRange *unionDOMRanges(DOMRange *a, DOMRange *b)
             break;
         // The writingDirectionForSelectionStart method will never return "natural". It
         // will always return a concrete direction. So, keep the compiler happy, and assert not reached.
-#if !BUILDING_ON_PANTHER   
+#if !BUILDING_ON_PANTHER
         case NSWritingDirectionNatural:
             ASSERT_NOT_REACHED();
             break;
@@ -4460,7 +4460,9 @@ static DOMRange *unionDOMRanges(DOMRange *a, DOMRange *b)
     NSString *direction = @"LTR";
     switch (writingDirection) {
         case NSWritingDirectionLeftToRight:
+#if !BUILDING_ON_PANTHER
         case NSWritingDirectionNatural:
+#endif
             break;
         case NSWritingDirectionRightToLeft:
             direction = @"RTL";