diff options
author | bsalomon <bsalomon@google.com> | 2015-09-10 09:31:59 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-10 09:32:00 -0700 |
commit | a82bf954ef3831117f1c268cec5dd655c6dc019b (patch) | |
tree | b99023f9d7110176fbf657cbeee650cd06d1151a /src/gpu | |
parent | ff1d547c72b7c70af7bddfba01d4646b2389db7a (diff) |
Fix leak of path ranges
R=egdaniel@google.com
Review URL: https://codereview.chromium.org/1334753002
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/batches/GrDrawPathBatch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/batches/GrDrawPathBatch.h b/src/gpu/batches/GrDrawPathBatch.h index e605b3e292..1156dc5e20 100644 --- a/src/gpu/batches/GrDrawPathBatch.h +++ b/src/gpu/batches/GrDrawPathBatch.h @@ -116,7 +116,7 @@ public: private: GrPathRangeDraw(GrPathRange* range, TransformType transformType, int reserveCnt) - : fPathRange(SkRef(range)) + : fPathRange(range) , fTransformType(transformType) , fIndices(reserveCnt) , fTransforms(reserveCnt * GrPathRendering::PathTransformSize(transformType)) { |