Ensure old binaries have old snapshotting behaviors
[WebKit-https.git] / Source / WebKit / UIProcess / API / Cocoa / WKWebView.mm
index 26d8ca0..5e63e83 100644 (file)
@@ -1185,7 +1185,7 @@ static WKErrorCode callbackErrorCode(WebKit::CallbackBase::Error error)
         }];
     };
 
-    if (snapshotConfiguration && !snapshotConfiguration.afterScreenUpdates) {
+    if ((snapshotConfiguration && !snapshotConfiguration.afterScreenUpdates) || !linkedOnOrAfter(WebKit::SDKVersion::FirstWithSnapshotAfterScreenUpdates)) {
         callSnapshotRect();
         return;
     }