diff options
Diffstat (limited to 'src/gpu/GrCoordTransform.h')
-rw-r--r-- | src/gpu/GrCoordTransform.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gpu/GrCoordTransform.h b/src/gpu/GrCoordTransform.h index 5bccf5c6d8..5d3faa3047 100644 --- a/src/gpu/GrCoordTransform.h +++ b/src/gpu/GrCoordTransform.h @@ -18,7 +18,7 @@ class GrTexture; * A class representing a linear transformation of local coordinates. GrFragnentProcessors * these transformations, and the GrGeometryProcessor implements the transformation. */ -class GrCoordTransform : SkNoncopyable { +class GrCoordTransform { public: GrCoordTransform() : fProxy(nullptr) @@ -27,6 +27,8 @@ public: SkDEBUGCODE(fInProcessor = false); } + GrCoordTransform(const GrCoordTransform&) = default; + /** * Create a transformation that maps [0, 1] to a proxy's boundaries. The proxy origin also * implies whether a y-reversal should be performed. @@ -129,7 +131,6 @@ private: const GrTextureProxy* fProxy; bool fNormalize; bool fReverseY; - typedef SkNoncopyable INHERITED; #ifdef SK_DEBUG public: |