-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Avoid smart pointers where we can use convinence initializers #12124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid smart pointers where we can use convinence initializers #12124
Conversation
EWS run on previous version of this PR (hash 20b28b2) |
20b28b2
to
64c42b9
Compare
EWS run on previous version of this PR (hash 64c42b9) |
64c42b9
to
1dc8ba5
Compare
EWS run on previous version of this PR (hash 1dc8ba5) |
1dc8ba5
to
77e12a6
Compare
EWS run on previous version of this PR (hash 77e12a6) |
77e12a6
to
780f35e
Compare
EWS run on previous version of this PR (hash 780f35e) |
780f35e
to
04ef2fc
Compare
EWS run on previous version of this PR (hash 04ef2fc) |
04ef2fc
to
0c44840
Compare
EWS run on previous version of this PR (hash 0c44840) |
0c44840
to
11635f4
Compare
EWS run on previous version of this PR (hash 11635f4) |
11635f4
to
c19ed10
Compare
EWS run on previous version of this PR (hash c19ed10) |
c19ed10
to
d768ec6
Compare
EWS run on previous version of this PR (hash d768ec6) |
d768ec6
to
feb90b1
Compare
EWS run on previous version of this PR (hash feb90b1) |
feb90b1
to
2ea9a3f
Compare
EWS run on previous version of this PR (hash 2ea9a3f) |
2ea9a3f
to
e250f50
Compare
EWS run on previous version of this PR (hash e250f50) |
cbd682e
to
d9a41c5
Compare
EWS run on previous version of this PR (hash d9a41c5) |
d9a41c5
to
316da8e
Compare
EWS run on previous version of this PR (hash 316da8e) |
I don't see any example of anything unrelated. |
316da8e
to
f803d49
Compare
EWS run on previous version of this PR (hash f803d49) |
Many of these changes don’t involve "convenience initializers". |
f803d49
to
e1266e5
Compare
EWS run on previous version of this PR (hash e1266e5) |
e1266e5
to
3fd3282
Compare
EWS run on previous version of this PR (hash 3fd3282) |
Some files by the very nature of their function cannot be converted to ARC. ESPECIALLY when they act as the objective C bridge. That being said, I will try. |
3fd3282
to
e46b99d
Compare
EWS run on previous version of this PR (hash e46b99d) |
WebCore CANNOT be converted to ARC because of things like NSInvocation, retainCount, and other hacks NOT supported by ARC |
This is a huge misunderstanding. Perhaps there is a very small amount of code that cannot be converted. Saying that means "WebCorw cannot be converted to ARC" is incorrect. I think you may be getting a little out of your depth here as a contributor. |
e46b99d
to
521cf03
Compare
EWS run on previous version of this PR (hash 521cf03) |
521cf03
to
11777d0
Compare
EWS run on previous version of this PR (hash 11777d0) |
11777d0
to
1182a76
Compare
https://bugs.webkit.org/show_bug.cgi?id=254676 Reviewed by NOBODY (OOPS!). There is no reason to retain or worry about objects that are known to be autoreleased, such as those from convenience initializers. * Source/JavaScriptCore/API/JSContext.mm: * Source/JavaScriptCore/API/JSManagedValue.mm: * Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm: * Source/WebCore/accessibility/mac/AXObjectCacheMac.mm: * Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperBase.mm: * Source/WebCore/bridge/objc/WebScriptObject.mm: * Source/WebCore/editing/cocoa/DataDetection.mm: * Source/WebCore/platform/audio/ios/AudioSessionIOS.mm: * Source/WebCore/platform/graphics/cg/ImageDecoderCG.cpp: * Source/WebCore/platform/ios/WebItemProviderPasteboard.mm: * Source/WebCore/platform/network/cocoa/WebCoreNSURLSession.mm: * Source/WebKit/Platform/cocoa/PaymentAuthorizationPresenter.mm: * Source/WebKit/Shared/API/Cocoa/WKRemoteObjectCoder.mm: * Source/WebKit/Shared/API/Cocoa/_WKRemoteObjectInterface.mm: * Source/WebKit/Shared/ApplePay/cocoa/PaymentSetupConfiguration.mm: * Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm: * Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataRecord.mm: * Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm: * Source/WebKit/UIProcess/API/Cocoa/_WKDownload.mm: * Source/WebKit/UIProcess/API/Cocoa/_WKWebAuthenticationPanel.mm: * Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionCocoa.mm: * Source/WebKit/UIProcess/WebAuthentication/Cocoa/CcidConnection.mm: * Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm: * Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm: * Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandle.mm: * Source/WebKit/WebProcess/InjectedBundle/mac/InjectedBundleMac.mm: * Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm: * Source/WebKitLegacy/mac/Misc/WebNSObjectExtras.mm: * Source/WebKitLegacy/mac/Plugins/WebPluginContainerCheck.mm: * Source/WebKitLegacy/mac/Plugins/WebPluginDatabase.mm: * Source/WebKitLegacy/mac/WebCoreSupport/WebFrameLoaderClient.mm: * Source/WebKitLegacy/mac/WebCoreSupport/WebInspectorClient.mm: * Source/WebKitLegacy/mac/WebView/WebHTMLView.mm: * Source/WebKitLegacy/mac/WebView/WebPDFView.mm: * Source/WebKitLegacy/mac/WebView/WebResource.mm: * Source/WebKitLegacy/mac/WebView/WebView.mm:
1182a76
to
b7e7395
Compare
EWS run on previous version of this PR (hash 1182a76) |
EWS run on current version of this PR (hash b7e7395) |
cbd682e8d2841580e93f0c2622355ac49dcca9f4
b7e7395