Fix the pre-Yosemite build.
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Jan 2015 20:53:41 +0000 (20:53 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Jan 2015 20:53:41 +0000 (20:53 +0000)
* UIProcess/API/mac/WKView.mm:
(-[WKView _dismissContentRelativeChildWindows]):

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

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/mac/WKView.mm

index 3d8fb73c0941cc4e84d17180a7c9521cd647b729..c6511a8785c3c05e85b1fc879b8d757293881ba7 100644 (file)
@@ -1,3 +1,10 @@
+2015-01-23  Timothy Horton  <timothy_horton@apple.com>
+
+        Fix the pre-Yosemite build.
+
+        * UIProcess/API/mac/WKView.mm:
+        (-[WKView _dismissContentRelativeChildWindows]):
+
 2015-01-23  Timothy Horton  <timothy_horton@apple.com>
 
         QLPreviewMenuItem popovers don't close when the page scrolls
index bd7de42f452b856cf3e37314683b4e7290d58f63..763ee690bf290d9fccb7f1208955ade4b000de4c 100644 (file)
@@ -4354,7 +4354,9 @@ static NSString *pathWithUniqueFilenameForPath(NSString *path)
 
     [self _setTextIndicator:nullptr fadeOut:NO];
 
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
     [_data->_immediateActionController dismissContentRelativeChildWindows];
+#endif
 
     static_cast<PageClient&>(*_data->_pageClient).dismissCorrectionPanel(ReasonForDismissingAlternativeTextIgnored);
 }