aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-09 20:09:12 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-09 20:09:12 +0000
commite0e7cfe44bb9d66d76120a79e5275c294bacaa22 (patch)
treed3d282beb8e498659f87abafa5a651946eea6ee8 /src/core
parent50b2e33dc6acaed906bfdc89af9b359ea2665c52 (diff)
Change old PRG to be SkLCGRandom; change new one to SkRandom
The goal here is to get people to start using the new random number generator, while leaving the old one in place so we don't have to rebaseline GMs. R=reed@google.com, bsalomon@google.com Author: jvanverth@google.com Review URL: https://chromiumcodereview.appspot.com/23576015 git-svn-id: http://skia.googlecode.com/svn/trunk@11169 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkFloat.cpp2
-rw-r--r--src/core/SkXfermode.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkFloat.cpp b/src/core/SkFloat.cpp
index 721d8ec53e..b5cc4f18e7 100644
--- a/src/core/SkFloat.cpp
+++ b/src/core/SkFloat.cpp
@@ -291,7 +291,7 @@ void SkFloat::UnitTest()
d.setAdd(c, b);
SkDebugf("SkFloat: %d + %d = %d\n", c.getInt(), b.getInt(), d.getInt());
- SkMWCRandom rand;
+ SkRandom rand;
int i;
for (i = 0; i < 1000; i++)
diff --git a/src/core/SkXfermode.cpp b/src/core/SkXfermode.cpp
index 1efd9efc4b..ac5cee4e35 100644
--- a/src/core/SkXfermode.cpp
+++ b/src/core/SkXfermode.cpp
@@ -1359,7 +1359,7 @@ private:
};
GR_DEFINE_EFFECT_TEST(XferEffect);
-GrEffectRef* XferEffect::TestCreate(SkMWCRandom* rand,
+GrEffectRef* XferEffect::TestCreate(SkRandom* rand,
GrContext*,
const GrDrawTargetCaps&,
GrTexture*[]) {