From f27bab207aebca467c04ccc89d18c9f198a0d762 Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Mon, 14 Nov 2016 19:29:24 +0000 Subject: Revert "Add IORef capability to GrSurfaceProxy objects" This reverts commit 286b96f876953c94c178e3abbeb4eab186ad1fef. Reason for revert: Failure on Mac Mini: FAILURE: ../../../tests/ProxyRefTest.cpp:59 proxy->getPendingWriteCnt_TestOnly() == expectedNumWrites ../../../tests/ProxyRefTest.cpp:64: fatal error: "assert(proxy->getPendingWriteCnt_TestOnly() == expectedNumWrites)" Original change's description: > Add IORef capability to GrSurfaceProxy objects > > GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4734 > > Change-Id: If10fbe555e9fa3331bfa01065028e1afe82adb78 > Reviewed-on: https://skia-review.googlesource.com/4734 > Commit-Queue: Robert Phillips > Reviewed-by: Brian Salomon > TBR=bsalomon@google.com,robertphillips@google.com,reviews@skia.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: I5e1c201e027d4e9687b01f28a418b1884d3f9ece Reviewed-on: https://skia-review.googlesource.com/4776 Commit-Queue: Robert Phillips Reviewed-by: Robert Phillips --- src/gpu/GrSurfaceProxy.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/gpu/GrSurfaceProxy.cpp') diff --git a/src/gpu/GrSurfaceProxy.cpp b/src/gpu/GrSurfaceProxy.cpp index 9de41ef482..831cd3213c 100644 --- a/src/gpu/GrSurfaceProxy.cpp +++ b/src/gpu/GrSurfaceProxy.cpp @@ -43,8 +43,6 @@ GrSurface* GrSurfaceProxy::instantiate(GrTextureProvider* texProvider) { return nullptr; } - this->INHERITED::transferRefs(); - #ifdef SK_DEBUG if (kInvalidGpuMemorySize != this->getRawGpuMemorySize_debugOnly()) { SkASSERT(fTarget->gpuMemorySize() <= this->getRawGpuMemorySize_debugOnly()); -- cgit v1.2.3