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 3d8fb73..c6511a8 100644 (file)
@@ -1,5 +1,12 @@
 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
         https://bugs.webkit.org/show_bug.cgi?id=140806
         <rdar://problem/19555618>
index bd7de42..763ee69 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);
 }