More build fixing.
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 17 Apr 2016 00:40:55 +0000 (00:40 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 17 Apr 2016 00:40:55 +0000 (00:40 +0000)
* MiniBrowser/mac/BrowserWindowController.m:
(-[BrowserWindowController share:]):

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

Tools/ChangeLog
Tools/MiniBrowser/mac/BrowserWindowController.m

index 11b5068..2c875e3 100644 (file)
@@ -1,5 +1,12 @@
 2016-04-16  Sam Weinig  <sam@webkit.org>
 
+        More build fixing.
+
+        * MiniBrowser/mac/BrowserWindowController.m:
+        (-[BrowserWindowController share:]):
+
+2016-04-16  Sam Weinig  <sam@webkit.org>
+
         Another build fix.
 
         * MiniBrowser/mac/BrowserWindowController.m:
index c0e44f0..082c76e 100644 (file)
 {
     NSSharingServicePicker *picker = [[NSSharingServicePicker alloc] initWithItems:@[ self.currentURL ]];
     picker.delegate = self;
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200
     [picker showRelativeToRect:NSZeroRect ofView:sender preferredEdge:NSRectEdgeMinY];
+#else
+    [picker showRelativeToRect:NSZeroRect ofView:sender preferredEdge:NSMinYEdge];
+#endif
 }
 
 - (IBAction)fetch:(id)sender