Title: [199631] trunk/Tools
Revision
199631
Author
wei...@apple.com
Date
2016-04-16 17:19:58 -0700 (Sat, 16 Apr 2016)

Log Message

Fix 32-bit build.

* MiniBrowser/mac/BrowserWindowController.m:
(-[BrowserWindowController share:]):
(-[BrowserWindowController fetch:]):
(-[BrowserWindowController sharingService:transitionImageForShareItem:contentRect:]):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (199630 => 199631)


--- trunk/Tools/ChangeLog	2016-04-17 00:10:45 UTC (rev 199630)
+++ trunk/Tools/ChangeLog	2016-04-17 00:19:58 UTC (rev 199631)
@@ -1,3 +1,12 @@
+2016-04-16  Sam Weinig  <s...@webkit.org>
+
+        Fix 32-bit build.
+
+        * MiniBrowser/mac/BrowserWindowController.m:
+        (-[BrowserWindowController share:]):
+        (-[BrowserWindowController fetch:]):
+        (-[BrowserWindowController sharingService:transitionImageForShareItem:contentRect:]):
+
 2016-04-15  Sam Weinig  <s...@webkit.org>
 
         Add support for NSSharingService to MiniBrowser, for no great reasons

Modified: trunk/Tools/MiniBrowser/mac/BrowserWindowController.m (199630 => 199631)


--- trunk/Tools/MiniBrowser/mac/BrowserWindowController.m	2016-04-17 00:10:45 UTC (rev 199630)
+++ trunk/Tools/MiniBrowser/mac/BrowserWindowController.m	2016-04-17 00:19:58 UTC (rev 199631)
@@ -77,7 +77,7 @@
 {
     NSSharingServicePicker *picker = [[NSSharingServicePicker alloc] initWithItems:@[ self.currentURL ]];
     picker.delegate = self;
-    [picker showRelativeToRect:CGRectZero ofView:sender preferredEdge:NSRectEdgeMinY];
+    [picker showRelativeToRect:NSZeroRect ofView:sender preferredEdge:NSRectEdgeMinY];
 }
 
 - (IBAction)fetch:(id)sender
@@ -227,7 +227,7 @@
 {
     NSRect contentFrame = [self.window convertRectToScreen:self.mainContentView.bounds];
 
-    CGRect frame = coreGraphicsScreenRectForAppKitScreenRect(NSRectToCGRect(contentFrame));
+    CGRect frame = coreGraphicsScreenRectForAppKitScreenRect(contentFrame);
     CGImageRef imageRef = CGWindowListCreateImage(frame, kCGWindowListOptionIncludingWindow, (CGWindowID)[self.window windowNumber], kCGWindowImageBoundsIgnoreFraming);
     
     if (!imageRef)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to