Skip to content
  • andersca@apple.com's avatar
    Remove createOwned · 8359a7b0
    andersca@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=122388
    
    Reviewed by Darin Adler.
    
    Source/JavaScriptCore:
    
    * profiler/ProfilerDatabase.cpp:
    (JSC::Profiler::Database::save):
    
    Source/WebCore:
    
    * dom/Document.cpp:
    (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.cpp:
    (WTF::FilePrintStream::open):
    * wtf/FilePrintStream.h:
    * wtf/HashTable.h:
    (WTF::::HashTable):
    * wtf/ListHashSet.h:
    (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):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156968 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    8359a7b0