aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ProxyRefTest.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-11-21 11:05:03 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-11-21 11:05:03 -0800
commitd728f0c1a94fe926b59d8ebc9ae174019ccd3606 (patch)
tree961028483a484d07da315a039104253cd85cb736 /tests/ProxyRefTest.cpp
parent43c847b7f281c071a33980359e4d5839855da20f (diff)
Defer more renderTargetContexts in the GPU image filter paths - take 2
This is a reland of https://skia-review.googlesource.com/c/4767/ (Defer more renderTargetContexts in the GPU image filter paths). The addition of guards on instantiation && accessRenderTarget failure should prevent a reoccurence of this Nexus7 failures. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2514543002 TBR=bsalomon@google.com Review-Url: https://codereview.chromium.org/2514543002
Diffstat (limited to 'tests/ProxyRefTest.cpp')
-rw-r--r--tests/ProxyRefTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ProxyRefTest.cpp b/tests/ProxyRefTest.cpp
index 4f6a3e368c..77ec2db0df 100644
--- a/tests/ProxyRefTest.cpp
+++ b/tests/ProxyRefTest.cpp
@@ -106,7 +106,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ProxyRefTest, reporter, ctxInfo) {
// extra ref and write
bool proxyGetsDiscardRef = !sProxy->isWrapped_ForTesting() &&
caps.discardRenderTargetSupport();
- int expectedWrites = proxyGetsDiscardRef ? 2 : 1;
+ int expectedWrites = proxyGetsDiscardRef ? 2 : 1;
sProxy->instantiate(provider);