Use nullptr instead of 0 in calls to HashMap::add
Created attachment 211590 [details] Patch
Attachment 211590 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp', u'Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp', u'Source/WebCore/ChangeLog', u'Source/WebCore/bridge/IdentifierRep.cpp', u'Source/WebCore/css/CSSFontFaceSource.cpp', u'Source/WebCore/css/CSSFontSelector.cpp', u'Source/WebCore/css/CSSSegmentedFontFace.cpp', u'Source/WebCore/css/CSSValuePool.cpp', u'Source/WebCore/dom/ChildListMutationScope.cpp', u'Source/WebCore/dom/Document.cpp', u'Source/WebCore/dom/NodeRareData.h', u'Source/WebCore/loader/appcache/ApplicationCacheStorage.cpp', u'Source/WebCore/page/PageGroup.cpp', u'Source/WebCore/page/animation/AnimationController.cpp', u'Source/WebCore/platform/mac/ScrollbarThemeMac.mm', u'Source/WebCore/storage/StorageNamespaceImpl.cpp', u'Source/WebKit/mac/ChangeLog', u'Source/WebKit/mac/Plugins/Hosted/NetscapePluginHostManager.mm', u'Source/WebKit2/ChangeLog', u'Source/WebKit2/Platform/CoreIPC/Connection.cpp', u'Source/WebKit2/UIProcess/Storage/StorageManager.cpp', u'Source/WebKit2/UIProcess/WebProcessProxy.cpp', u'Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp', u'Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp', u'Source/WebKit2/WebProcess/Storage/StorageNamespaceImpl.cpp', u'Source/WebKit2/WebProcess/WebProcess.cpp', u'Tools/ChangeLog', u'Tools/DumpRenderTree/mac/TestRunnerMac.mm', u'Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp']" exit_code: 1 Source/WebKit2/UIProcess/Storage/StorageManager.cpp:445: Missing spaces around >> [whitespace/operators] [3] Source/WebKit2/UIProcess/Storage/StorageManager.cpp:478: Missing spaces around >> [whitespace/operators] [3] Source/WebKit2/UIProcess/Storage/StorageManager.cpp:619: Missing spaces around >> [whitespace/operators] [3] Source/WebKit2/WebProcess/WebProcess.cpp:577: Missing spaces around >> [whitespace/operators] [3] Source/WebKit2/WebProcess/WebProcess.cpp:729: Missing spaces around >> [whitespace/operators] [3] Total errors found: 5 in 30 files If any of these errors are false positives, please file a bug against check-webkit-style.
Committed r155729: <http://trac.webkit.org/changeset/155729>