diff options
author | 2016-02-02 22:46:16 -0800 | |
---|---|---|
committer | 2016-02-02 22:46:16 -0800 | |
commit | 4833f39a41e7689db4922fdbb5c1b47ae55f7c8d (patch) | |
tree | b2cb8c45739d7937c0f9c8461cc2d70feb27ab55 /src/gpu/GrPipeline.h | |
parent | afc7cce5d68663934128d76963cd501f771d71de (diff) |
Templatize GrNonAtomicRef
Templatizes GrNonAtomicRef so it does not necessarily require a virtual
destructor. This also gives us the flexibility to specialize how
different types get deleted.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1664613002
Review URL: https://codereview.chromium.org/1664613002
Diffstat (limited to 'src/gpu/GrPipeline.h')
-rw-r--r-- | src/gpu/GrPipeline.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrPipeline.h b/src/gpu/GrPipeline.h index 10ffc865f0..4f81ae40d0 100644 --- a/src/gpu/GrPipeline.h +++ b/src/gpu/GrPipeline.h @@ -41,7 +41,7 @@ struct GrPipelineOptimizations { * Class that holds an optimized version of a GrPipelineBuilder. It is meant to be an immutable * class, and contains all data needed to set the state for a gpu draw. */ -class GrPipeline : public GrNonAtomicRef { +class GrPipeline : public GrNonAtomicRef<GrPipeline> { public: /////////////////////////////////////////////////////////////////////////// /// @name Creation |