Remove createOwned
https://bugs.webkit.org/show_bug.cgi?id=122388
Reviewed by Darin Adler.
Source/JavaScriptCore:
- profiler/ProfilerDatabase.cpp:
(JSC::Profiler::Database::save):
Source/WebCore:
(WebCore::Document::Document):
(WebCore::Document::~Document):
(WebCore::Document::createRenderTree):
(WebCore::Document::destroyRenderTree):
- dom/Document.h:
- page/Frame.cpp:
(WebCore::Frame::Frame):
- page/Frame.h:
- page/animation/AnimationController.cpp:
(WebCore::AnimationController::AnimationController):
- page/animation/AnimationController.h:
- platform/graphics/avfoundation/AVTrackPrivateAVFObjCImpl.h:
- platform/graphics/avfoundation/objc/AudioTrackPrivateAVFObjC.h:
- platform/graphics/avfoundation/objc/AudioTrackPrivateAVFObjC.mm:
(WebCore::AudioTrackPrivateAVFObjC::AudioTrackPrivateAVFObjC):
(WebCore::AudioTrackPrivateAVFObjC::setPlayerItemTrack):
- platform/graphics/avfoundation/objc/VideoTrackPrivateAVFObjC.cpp:
(WebCore::VideoTrackPrivateAVFObjC::VideoTrackPrivateAVFObjC):
(WebCore::VideoTrackPrivateAVFObjC::setPlayerItemTrack):
- platform/graphics/avfoundation/objc/VideoTrackPrivateAVFObjC.h:
- rendering/svg/RenderSVGResourceClipper.cpp:
(WebCore::RenderSVGResourceClipper::applyClippingToContext):
- rendering/svg/RenderSVGResourceClipper.h:
- rendering/svg/RenderSVGResourceFilter.cpp:
(WebCore::RenderSVGResourceFilter::applyResource):
- rendering/svg/RenderSVGResourceFilter.h:
- rendering/svg/RenderSVGResourceMasker.cpp:
(WebCore::RenderSVGResourceMasker::applyResource):
- rendering/svg/RenderSVGResourceMasker.h:
Source/WebKit2:
- UIProcess/API/mac/WKView.mm:
(-[WKView _setFindIndicator:fadeOut:animate:]):
- WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.cpp:
(WKBundlePageOverlayCreate):
Source/WTF:
Since we're going with std::unique_ptr instead of OwnPtr, there's no need for makeOwned to exist.
Get rid of it and replace it with calls to std::make_unique.
(WTF::FilePrintStream::open):
- wtf/FilePrintStream.h:
- wtf/HashTable.h:
(WTF::::HashTable):
(WTF::::ListHashSet):
- wtf/OwnPtr.h:
- wtf/Threading.cpp:
(WTF::compatEntryPoint):
(WTF::createThread):
- wtf/ThreadingPthreads.cpp:
(WTF::wtfThreadEntryPoint):
(WTF::createThreadInternal):
- wtf/unicode/Collator.h:
- wtf/unicode/CollatorDefault.cpp:
(WTF::Collator::userDefault):
- wtf/unicode/icu/CollatorICU.cpp:
(WTF::Collator::userDefault):