+2012-01-17 Matthew Delaney <mdelaney@apple.com>
+
+ On post-Lion releases, preserve the Lion behavior where WebKit explicitly calls -setGeometryFlipped on the hosting layer for applications that were linked on Lion or earlier.
+ <rdar://problem/10692025>
+
+ Reviewed by Simon Fraser.
+
+ * platform/mac/WebCoreSystemInterface.h: Added in new function for checking if linked-on-or-before Lion.
+ * platform/mac/WebCoreSystemInterface.mm: Ditto.
+
2012-01-17 Yongsheng Zhu <yongsheng.zhu@intel.com>
Clear 'm_size' of DrawingBuffer in the 'clear' function
#if !defined(BUILDING_ON_SNOW_LEOPARD) && !defined(BUILDING_ON_LION)
extern NSString *(*wkGetMacOSXVersionString)(void);
+extern bool (*wkExecutableWasLinkedOnOrBeforeLion)(void);
#endif
}
#if !defined(BUILDING_ON_SNOW_LEOPARD) && !defined(BUILDING_ON_LION)
NSString *(*wkGetMacOSXVersionString)(void);
+bool (*wkExecutableWasLinkedOnOrBeforeLion)(void);
#endif
+2012-01-17 Matthew Delaney <mdelaney@apple.com>
+
+ On post-Lion releases, preserve the Lion behavior where WebKit explicitly calls -setGeometryFlipped on the hosting layer for applications that were linked on Lion or earlier.
+ <rdar://problem/10692025>
+
+ Reviewed by Simon Fraser.
+
+ * WebCoreSupport/WebSystemInterface.mm: Init newly added function.
+ * WebView/WebHTMLView.mm: Added case for post-Lion builds that calls -setGeometryFlipped if the app is linked on or before Lion.
+
2012-01-17 Enrica Casucci <enrica@apple.com>
REGRESSION (r101413): Correction panel overlaps misspelled text.
#if PLATFORM(MAC) && !defined(BUILDING_ON_SNOW_LEOPARD) && !defined(BUILDING_ON_LION)
INIT(GetMacOSXVersionString);
+ INIT(ExecutableWasLinkedOnOrBeforeLion);
#endif
didInit = true;
#elif (defined(BUILDING_ON_SNOW_LEOPARD) || defined(BUILDING_ON_LION))
// Do geometry flipping here, which flips all the compositing layers so they are top-down.
[viewLayer setGeometryFlipped:YES];
+#else
+ if (WKExecutableWasLinkedOnOrBeforeLion())
+ [viewLayer setGeometryFlipped:YES];
#endif
}
+2012-01-17 Matthew Delaney <mdelaney@apple.com>
+
+ On post-Lion releases, preserve the Lion behavior where WebKit explicitly calls -setGeometryFlipped on the hosting layer for applications that were linked on Lion or earlier.
+ <rdar://problem/10692025>
+
+ Reviewed by Simon Fraser.
+
+ * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm: Init new function.
+ (InitWebCoreSystemInterface):
+
2012-01-17 Sam Weinig <sam@webkit.org>
Rename quickLookPreviewItemsAtWindowLocation: to quickLookWithEvent:
#if !defined(BUILDING_ON_SNOW_LEOPARD) && !defined(BUILDING_ON_LION)
INIT(GetMacOSXVersionString);
+ INIT(ExecutableWasLinkedOnOrBeforeLion);
#endif
});