• andersca@apple.com's avatar
    Change a couple of HashMap value types from OwnPtr to std::unique_ptr · 2a6c489f
    andersca@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=121973
    
    Reviewed by Andreas Kling.
    
    Source/JavaScriptCore:
    
    * API/JSClassRef.cpp:
    (OpaqueJSClassContextData::OpaqueJSClassContextData):
    (OpaqueJSClass::contextData):
    * API/JSClassRef.h:
    * bytecode/SamplingTool.h:
    * ftl/FTLAbstractHeap.h:
    * parser/Parser.cpp:
    (JSC::::parseFunctionInfo):
    * parser/SourceProviderCache.cpp:
    (JSC::SourceProviderCache::add):
    * parser/SourceProviderCache.h:
    * parser/SourceProviderCacheItem.h:
    (JSC::SourceProviderCacheItem::create):
    * profiler/ProfilerCompilation.cpp:
    (JSC::Profiler::Compilation::executionCounterFor):
    (JSC::Profiler::Compilation::toJS):
    * profiler/ProfilerCompilation.h:
    * runtime/JSGlobalObject.h:
    
    Source/WTF:
    
    * wtf/RefPtrHashMap.h:
    Add a missing std::forward.
    
    * wtf/StdLibExtras.h:
    (std::make_unique):
    Add more overloads.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156492 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    2a6c489f