Skip to content
  • andersca@apple.com's avatar
    RefPtrHashMap should work with move only types · 1895f48b
    andersca@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=121564
    
    Reviewed by Andreas Kling.
    
    Source/JavaScriptCore:
    
    * runtime/VM.cpp:
    (JSC::VM::addSourceProviderCache):
    
    Source/WebCore:
    
    * bridge/IdentifierRep.cpp:
    (WebCore::IdentifierRep::get):
    * page/PageGroup.cpp:
    (WebCore::PageGroup::transientLocalStorage):
    
    Source/WebKit/mac:
    
    * Plugins/Hosted/ProxyInstance.mm:
    (WebKit::ProxyInstance::methodNamed):
    (WebKit::ProxyInstance::fieldNamed):
    
    Source/WebKit2:
    
    * UIProcess/Storage/StorageManager.cpp:
    (WebKit::StorageManager::LocalStorageNamespace::getOrCreateStorageArea):
    (WebKit::StorageManager::SessionStorageNamespace::getOrCreateStorageArea):
    * WebProcess/Storage/StorageNamespaceImpl.cpp:
    (WebKit::StorageNamespaceImpl::storageArea):
    
    Source/WTF:
    
    Add the same rvalue references and std::forward calls that already exist in HashMap.
    
    * wtf/RefPtrHashMap.h:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156056 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    1895f48b