* WebView/WebView.mm:
authorsullivan@apple.com <sullivan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 5 Nov 2007 23:21:10 +0000 (23:21 +0000)
committersullivan@apple.com <sullivan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 5 Nov 2007 23:21:10 +0000 (23:21 +0000)
        (-[WebView _searchWithSpotlightFromMenu:]):

        Teeny style tweak to test svn access on other machine

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

WebKit/ChangeLog
WebKit/WebView/WebView.mm

index 3adb199dea2f9fc895dd7155ea9815213a0fc8a8..6e31dd80de6edfcdf2993165341e9302a284f151 100644 (file)
@@ -1,3 +1,10 @@
+2007-11-05  John Sullivan  <sullivan@apple.com>
+
+        * WebView/WebView.mm:
+        (-[WebView _searchWithSpotlightFromMenu:]):
+
+        Teeny style tweak to test svn access on other machine
+
 2007-11-05  John Sullivan  <sullivan@apple.com>
 
         * WebView/WebView.mm:
index ae8240d0b327b28524c94f6b5c25110fe7e0deb9..2749989df75797718b5beb2419fb25d666cde1cb 100644 (file)
@@ -3911,9 +3911,8 @@ static WebFrameView *containingFrameView(NSView *view)
 - (void)_searchWithSpotlightFromMenu:(id)sender
 {
     id documentView = [[[self selectedFrame] frameView] documentView];
-    if (![documentView conformsToProtocol:@protocol(WebDocumentText)]) {
+    if (![documentView conformsToProtocol:@protocol(WebDocumentText)])
         return;
-    }
     
     NSString *selectedString = [(id <WebDocumentText>)documentView selectedString];
     if ([selectedString length] == 0) {