Title: [122407] trunk/Source
- Revision
- 122407
- Author
- [email protected]
- Date
- 2012-07-11 19:28:44 -0700 (Wed, 11 Jul 2012)
Log Message
Fix a logic error in the #if so that the correct code is compiled on Snow Leopard.
I introduced this in r122403 when I inverted the sense of the #if.
Source/WebKit/mac:
* WebView/WebFullScreenController.mm:
Source/WebKit2:
* UIProcess/mac/WKFullScreenWindowController.mm:
Modified Paths
Diff
Modified: trunk/Source/WebKit/mac/ChangeLog (122406 => 122407)
--- trunk/Source/WebKit/mac/ChangeLog 2012-07-12 02:28:37 UTC (rev 122406)
+++ trunk/Source/WebKit/mac/ChangeLog 2012-07-12 02:28:44 UTC (rev 122407)
@@ -1,5 +1,13 @@
2012-07-11 Mark Rowe <[email protected]>
+ Fix a logic error in the #if so that the correct code is compiled on Snow Leopard.
+
+ I introduced this in r122403 when I inverted the sense of the #if.
+
+ * WebView/WebFullScreenController.mm:
+
+2012-07-11 Mark Rowe <[email protected]>
+
<http://webkit.org/b/91024> Build against the latest SDK when targeting older OS X versions.
Reviewed by Dan Bernstein.
Modified: trunk/Source/WebKit/mac/WebView/WebFullScreenController.mm (122406 => 122407)
--- trunk/Source/WebKit/mac/WebView/WebFullScreenController.mm 2012-07-12 02:28:37 UTC (rev 122406)
+++ trunk/Source/WebKit/mac/WebView/WebFullScreenController.mm 2012-07-12 02:28:44 UTC (rev 122407)
@@ -70,7 +70,7 @@
- (void)_startExitFullScreenAnimationWithDuration:(NSTimeInterval)duration;
@end
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
static NSRect convertRectToScreen(NSWindow *window, NSRect rect)
{
return [window convertRectToScreen:rect];
Modified: trunk/Source/WebKit2/ChangeLog (122406 => 122407)
--- trunk/Source/WebKit2/ChangeLog 2012-07-12 02:28:37 UTC (rev 122406)
+++ trunk/Source/WebKit2/ChangeLog 2012-07-12 02:28:44 UTC (rev 122407)
@@ -1,5 +1,13 @@
2012-07-11 Mark Rowe <[email protected]>
+ Fix a logic error in the #if so that the correct code is compiled on Snow Leopard.
+
+ I introduced this in r122403 when I inverted the sense of the #if.
+
+ * UIProcess/mac/WKFullScreenWindowController.mm:
+
+2012-07-11 Mark Rowe <[email protected]>
+
<http://webkit.org/b/91024> Build against the latest SDK when targeting older OS X versions.
Reviewed by Dan Bernstein.
Modified: trunk/Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.mm (122406 => 122407)
--- trunk/Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.mm 2012-07-12 02:28:37 UTC (rev 122406)
+++ trunk/Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.mm 2012-07-12 02:28:44 UTC (rev 122407)
@@ -62,7 +62,7 @@
- (void)_startExitFullScreenAnimationWithDuration:(NSTimeInterval)duration;
@end
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
static NSRect convertRectToScreen(NSWindow *window, NSRect rect)
{
return [window convertRectToScreen:rect];
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes