aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PrimitiveProcessorTest.cpp
diff options
context:
space:
mode:
authorGravatar brianosman <brianosman@google.com>2016-07-21 13:28:36 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-21 13:28:36 -0700
commitdfe4f2e4fe5b162d4adb4486fe751f1e3b30bea7 (patch)
treeaa6ff74a25306386a0c5b5586a4843b470d80101 /tests/PrimitiveProcessorTest.cpp
parent8602ede5fdfa721dcad4dcb11db028c1c24265f1 (diff)
Add SkColorSpace to GrDrawContext
Diffstat (limited to 'tests/PrimitiveProcessorTest.cpp')
-rw-r--r--tests/PrimitiveProcessorTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/PrimitiveProcessorTest.cpp b/tests/PrimitiveProcessorTest.cpp
index f121079153..acaf9e98af 100644
--- a/tests/PrimitiveProcessorTest.cpp
+++ b/tests/PrimitiveProcessorTest.cpp
@@ -105,7 +105,8 @@ DEF_GPUTEST_FOR_ALL_CONTEXTS(VertexAttributeCount, reporter, ctxInfo) {
GrContext* context = ctxInfo.grContext();
sk_sp<GrDrawContext> drawContext(context->newDrawContext(SkBackingFit::kApprox,
- 1, 1, kRGBA_8888_GrPixelConfig));
+ 1, 1, kRGBA_8888_GrPixelConfig,
+ nullptr));
if (!drawContext) {
ERRORF(reporter, "Could not create draw context.");
return;