aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SamplePicture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/SamplePicture.cpp')
-rw-r--r--samplecode/SamplePicture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SamplePicture.cpp b/samplecode/SamplePicture.cpp
index 825e561654..8afebc4523 100644
--- a/samplecode/SamplePicture.cpp
+++ b/samplecode/SamplePicture.cpp
@@ -165,7 +165,7 @@ protected:
// test that we can re-record a subpicture, and see the results
- SkRandom rand(SampleCode::GetAnimTime());
+ SkMWCRandom rand(SampleCode::GetAnimTime());
canvas->translate(SkIntToScalar(10), SkIntToScalar(250));
drawCircle(fSubPicture->beginRecording(50, 50), 25,
rand.nextU() | 0xFF000000);