From f1e75838269413e6cd56ee35d858c61a1e4faa70 Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Tue, 18 Oct 2016 11:46:22 -0400 Subject: fix -NoGPU build bots. TBR=caryclark@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3589 Change-Id: I4bf4a6b812a8284f739c86d03f334521e896a1cf Reviewed-on: https://skia-review.googlesource.com/3589 Commit-Queue: Mike Klein Reviewed-by: Mike Klein --- tests/PathOpsChalkboardTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/PathOpsChalkboardTest.cpp') diff --git a/tests/PathOpsChalkboardTest.cpp b/tests/PathOpsChalkboardTest.cpp index 134da6b89f..5b6601336a 100644 --- a/tests/PathOpsChalkboardTest.cpp +++ b/tests/PathOpsChalkboardTest.cpp @@ -6,6 +6,7 @@ */ #include "PathOpsExtendedTest.h" #include "PathOpsThreadedCommon.h" +#include "SkRandom.h" #define TEST(name) { name, #name } @@ -150,7 +151,7 @@ static void chalkboard_threaded(skiatest::Reporter* reporter, const char* filena testlines ^= 0xFFFFFFFFFFFFFFFFLL; } *testRunner.fRunnables.append() = - new PathOpsThreadedRunnable(&testChalkboard, + new PathOpsThreadedRunnable(&testChalkboard, (int) (unsigned) (testlines & 0xFFFFFFFF), (int) (unsigned) (testlines >> 32), 0, 0, &testRunner); -- cgit v1.2.3