• andersca@apple.com's avatar
    Remove unsafe uses of AtomicallyInitializedStatic · 22910079
    andersca@apple.com authored
    Reviewed by Andreas Kling.
    AtomicStrings are per thread so any static initialization of them is potentially dangerous
    unless it's certain that they're only ever used from the same thread.
    This goes against using them with AtomicallyInitializedStatic, so just create AtomicStrings where needed.
    (This is highly unlikely to have any real negative performance impact since these two functions
    aren't called very frequently).
    * loader/CrossOriginAccessControl.cpp:
    * page/PerformanceResourceTiming.cpp:
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161812 268f45cc-cd09-0410-ab3c-d52691b4dbfc