TBR=bsalomon@google.com
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=
2193883002
Review-Url: https://codereview.chromium.org/
2193883002
*/
class GrVkBuffer : public SkNoncopyable {
public:
- ~GrVkBuffer() {
+ virtual ~GrVkBuffer() {
// either release or abandon should have been called by the owner of this object.
SkASSERT(!fResource);
}
GrVkUniformBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc,
const GrVkUniformBuffer::Resource* resource)
- : INHERITED(desc, resource)
- , fGpu(gpu) {}
-
- GrVkGpu* fGpu;
+ : INHERITED(desc, resource) {}
typedef GrVkBuffer INHERITED;
};