Index: tests/Sk64Test.cpp |
diff --git a/tests/Sk64Test.cpp b/tests/Sk64Test.cpp |
index d668e5454d69eb75c774a706db60398440353212..1777d24d103ec6842cc9e212f3ca0ef69853c330 100644 |
--- a/tests/Sk64Test.cpp |
+++ b/tests/Sk64Test.cpp |
@@ -7,7 +7,6 @@ |
#include "Test.h" |
#include "TestClassDef.h" |
-#include "Sk64.h" |
#include "SkRandom.h" |
#include <math.h> |
@@ -93,8 +92,8 @@ |
} |
for (i = 0; i < 1000; i++) { |
- a.set64(rand.next64()); |
- b.set64(rand.next64()); |
+ rand.next64(&a); //a.fHi >>= 1; // avoid overflow |
+ rand.next64(&b); //b.fHi >>= 1; // avoid overflow |
if (!(i & 3)) // want to explicitly test these cases |
{ |