Title: [262444] branches/safari-610.1.15-branch/Source/WebKitLegacy/mac
- Revision
- 262444
- Author
- [email protected]
- Date
- 2020-06-02 14:58:07 -0700 (Tue, 02 Jun 2020)
Log Message
Cherry-pick r262330. rdar://problem/63891486
REGRESSION (r260306): Compatibility issue leading to crash on macOS games
<https://webkit.org/b/212546>
<rdar://problem/62624078>
Reviewed by Brent Fulgham.
* WebView/WebView.mm:
(_WebSafeForwarder._target):
(_WebSafeForwarder._defaultTarget):
- Change __weak attribute to __unsafe_unretained to fix the
crash.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262330 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-610.1.15-branch/Source/WebKitLegacy/mac/ChangeLog (262443 => 262444)
--- branches/safari-610.1.15-branch/Source/WebKitLegacy/mac/ChangeLog 2020-06-02 21:58:05 UTC (rev 262443)
+++ branches/safari-610.1.15-branch/Source/WebKitLegacy/mac/ChangeLog 2020-06-02 21:58:07 UTC (rev 262444)
@@ -1,3 +1,36 @@
+2020-06-02 Alan Coon <[email protected]>
+
+ Cherry-pick r262330. rdar://problem/63891486
+
+ REGRESSION (r260306): Compatibility issue leading to crash on macOS games
+ <https://webkit.org/b/212546>
+ <rdar://problem/62624078>
+
+ Reviewed by Brent Fulgham.
+
+ * WebView/WebView.mm:
+ (_WebSafeForwarder._target):
+ (_WebSafeForwarder._defaultTarget):
+ - Change __weak attribute to __unsafe_unretained to fix the
+ crash.
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262330 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2020-05-29 David Kilzer <[email protected]>
+
+ REGRESSION (r260306): Compatibility issue leading to crash on macOS games
+ <https://webkit.org/b/212546>
+ <rdar://problem/62624078>
+
+ Reviewed by Brent Fulgham.
+
+ * WebView/WebView.mm:
+ (_WebSafeForwarder._target):
+ (_WebSafeForwarder._defaultTarget):
+ - Change __weak attribute to __unsafe_unretained to fix the
+ crash.
+
2020-05-21 Pinki Gyanchandani <[email protected]>
Null Ptr Deref @ WebCore::ResourceResponse::platformLazyInit
Modified: branches/safari-610.1.15-branch/Source/WebKitLegacy/mac/WebView/WebView.mm (262443 => 262444)
--- branches/safari-610.1.15-branch/Source/WebKitLegacy/mac/WebView/WebView.mm 2020-06-02 21:58:05 UTC (rev 262443)
+++ branches/safari-610.1.15-branch/Source/WebKitLegacy/mac/WebView/WebView.mm 2020-06-02 21:58:07 UTC (rev 262444)
@@ -564,8 +564,9 @@
@interface _WebSafeForwarder : NSObject
{
- __weak id _target;
- __weak id _defaultTarget;
+ // Do not not change _target and _defaultTarget to __weak. See <rdar://problem/62624078>.
+ __unsafe_unretained id _target;
+ __unsafe_unretained id _defaultTarget;
#if PLATFORM(IOS_FAMILY)
_WebSafeAsyncForwarder *_asyncForwarder;
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes