Yet another fix for Win7 compiler errors/warnings

git-svn-id: http://skia.googlecode.com/svn/trunk@9854 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
robertphillips@google.com 2013-07-01 23:47:44 +00:00
parent 95faedb764
commit f8846504c7

View File

@ -23,8 +23,7 @@ class SkBitmap;
//this function is redefined for sample, test, and bench. is there anywhere
// I can put it to avoid code duplcation?
static void fillRandomBits( int chars, char* bits ){
SkTime time;
SkMWCRandom rand = SkMWCRandom( time.GetMSecs() );
SkMWCRandom rand(SkTime::GetMSecs());
for (int i = 0; i < chars; ++i){
bits[i] = rand.nextU();