[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
loki at webkit.org
loki at webkit.org
Wed Dec 22 15:26:03 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit a9733707ab8158bc7507cb4ad717df802a0d0f4a
Author: loki at webkit.org <loki at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Nov 3 10:14:14 2010 +0000
2010-11-03 Gabor Loki <loki at webkit.org>
Reviewed by Andreas Kling.
Remove unused initializeWeakRandomNumberGenerator
https://bugs.webkit.org/show_bug.cgi?id=48899
WeakRandom class is used instead of weakRandomNumber and its initializer.
* wtf/RandomNumberSeed.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71226 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index 121edd9..6b609b5 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,5 +1,16 @@
2010-11-03 Gabor Loki <loki at webkit.org>
+ Reviewed by Andreas Kling.
+
+ Remove unused initializeWeakRandomNumberGenerator
+ https://bugs.webkit.org/show_bug.cgi?id=48899
+
+ WeakRandom class is used instead of weakRandomNumber and its initializer.
+
+ * wtf/RandomNumberSeed.h:
+
+2010-11-03 Gabor Loki <loki at webkit.org>
+
Reviewed by Geoffrey Garen.
Unused class: JSFastMath with JSValue64
diff --git a/JavaScriptCore/wtf/RandomNumberSeed.h b/JavaScriptCore/wtf/RandomNumberSeed.h
index 1f1c00e..b53b506 100644
--- a/JavaScriptCore/wtf/RandomNumberSeed.h
+++ b/JavaScriptCore/wtf/RandomNumberSeed.h
@@ -76,15 +76,6 @@ inline void initializeRandomNumberGenerator()
#endif
}
-inline void initializeWeakRandomNumberGenerator()
-{
-#if COMPILER(MSVC) && defined(_CRT_RAND_S)
- // We need to initialise windows rand() explicitly for Math.random
- unsigned seed = 0;
- rand_s(&seed);
- srand(seed);
-#endif
-}
}
#endif
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list