Ignore:
Timestamp:
May 10, 2013, 6:27:03 PM (12 years ago)
Author:
Laszlo Gombos
Message:

Remove USE(OS_RANDOMNESS)
https://bugs.webkit.org/show_bug.cgi?id=108095

Reviewed by Darin Adler.

Remove the USE(OS_RANDOMNESS) guard as it is turned on for all
ports.

Source/JavaScriptCore:

  • jit/JIT.cpp:

(JSC::JIT::JIT):

Source/WebCore:

No new tests as this is covered by existing tests.

  • page/Crypto.cpp:

(WebCore::Crypto::getRandomValues):

  • platform/UUID.cpp:

(WebCore::createCanonicalUUIDString):

Source/WebKit/blackberry:

  • WebCoreSupport/AboutDataUseFeatures.in:

Source/WTF:

  • wtf/CryptographicallyRandomNumber.cpp:

(WTF::cryptographicallyRandomValues):

  • wtf/CryptographicallyRandomNumber.h:
  • wtf/OSRandomSource.cpp:

(WTF::cryptographicallyRandomValuesFromOS):

  • wtf/OSRandomSource.h:
  • wtf/Platform.h:
  • wtf/RandomNumber.cpp:

(WTF::randomNumber):

  • wtf/RandomNumber.h:
  • wtf/RandomNumberSeed.h:

(WTF::initializeRandomNumberGenerator):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jit/JIT.cpp

    r149418 r149921  
    9191    , m_jumpTargetsPosition(0)
    9292#endif
    93 #if USE(OS_RANDOMNESS)
    9493    , m_randomGenerator(cryptographicallyRandomNumber())
    95 #else
    96     , m_randomGenerator(static_cast<unsigned>(randomNumber() * 0xFFFFFFF))
    97 #endif
    9894#if ENABLE(VALUE_PROFILER)
    9995    , m_canBeOptimized(false)
Note: See TracChangeset for help on using the changeset viewer.