• andersca@apple.com's avatar
    Use nullptr instead of 0 in calls to HashMap::add · b9b4add1
    andersca@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=121322
    
    Reviewed by Sam Weinig.
    
    Source/JavaScriptCore:
    
    * bytecompiler/BytecodeGenerator.cpp:
    (JSC::BytecodeGenerator::emitLoad):
    (JSC::BytecodeGenerator::addStringConstant):
    * dfg/DFGByteCodeParser.cpp:
    (JSC::DFG::ByteCodeParser::cellConstant):
    
    Source/WebCore:
    
    * bridge/IdentifierRep.cpp:
    (WebCore::IdentifierRep::get):
    * css/CSSFontFaceSource.cpp:
    (WebCore::CSSFontFaceSource::getFontData):
    * css/CSSFontSelector.cpp:
    (WebCore::CSSFontSelector::getFontFace):
    * css/CSSSegmentedFontFace.cpp:
    (WebCore::CSSSegmentedFontFace::getFontData):
    * css/CSSValuePool.cpp:
    (WebCore::CSSValuePool::createFontFamilyValue):
    (WebCore::CSSValuePool::createFontFaceValue):
    * dom/ChildListMutationScope.cpp:
    (WebCore::ChildListMutationAccumulator::getOrCreate):
    * dom/Document.cpp:
    (WebCore::Document::getCSSCanvasElement):
    * dom/NodeRareData.h:
    (WebCore::NodeListsNodeData::addCacheWithAtomicName):
    (WebCore::NodeListsNodeData::addCacheWithName):
    (WebCore::NodeListsNodeData::addCacheWithQualifiedName):
    * loader/appcache/ApplicationCacheStorage.cpp:
    (WebCore::ApplicationCacheStorage::findOrCreateCacheGroup):
    * page/PageGroup.cpp:
    (WebCore::PageGroup::pageGroup):
    * page/animation/AnimationController.cpp:
    (WebCore::AnimationControllerPrivate::ensureCompositeAnimation):
    * platform/mac/ScrollbarThemeMac.mm:
    (WebCore::ScrollbarThemeMac::registerScrollbar):
    * storage/StorageNamespaceImpl.cpp:
    (WebCore::StorageNamespaceImpl::localStorageNamespace):
    
    Source/WebKit/mac:
    
    * Plugins/Hosted/NetscapePluginHostManager.mm:
    (WebKit::NetscapePluginHostManager::hostForPlugin):
    
    Source/WebKit2:
    
    * Platform/CoreIPC/Connection.cpp:
    (CoreIPC::Connection::SyncMessageState::getOrCreate):
    * UIProcess/Storage/StorageManager.cpp:
    (WebKit::StorageManager::createLocalStorageMap):
    (WebKit::StorageManager::createSessionStorageMap):
    (WebKit::StorageManager::getOrCreateLocalStorageNamespace):
    * UIProcess/WebProcessProxy.cpp:
    (WebKit::WebProcessProxy::addBackForwardItem):
    * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
    (WebKit::InjectedBundleNodeHandle::getOrCreate):
    * WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp:
    (WebKit::InjectedBundleRangeHandle::getOrCreate):
    * WebProcess/Storage/StorageNamespaceImpl.cpp:
    (WebKit::StorageNamespaceImpl::createLocalStorageNamespace):
    * WebProcess/WebProcess.cpp:
    (WebKit::WebProcess::createWebPage):
    (WebKit::WebProcess::webPageGroup):
    
    Tools:
    
    * DumpRenderTree/mac/TestRunnerMac.mm:
    (TestRunner::evaluateScriptInIsolatedWorld):
    * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
    (WTR::TestRunner::evaluateScriptInIsolatedWorld):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b9b4add1
DFGByteCodeParser.cpp 156 KB