commit | 5f5a8d7599b8e248633ac122294b7a01401fedcb | [log] [tgz] |
---|---|---|
author | joshualitt <joshualitt@chromium.org> | Wed Feb 25 14:09:45 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Wed Feb 25 14:09:46 2015 -0800 |
tree | e598536d87f52a473f82123097418fe6e2dccb6d | |
parent | 570d2f81a65fc868d6300a7edf34c0d5d048c5d6 [diff] [blame] |
adding preabandon flag to DM BUG=skia: Review URL: https://codereview.chromium.org/929243004
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h index 8dafcfc..6b520e7 100644 --- a/src/gpu/SkGpuDevice.h +++ b/src/gpu/SkGpuDevice.h
@@ -57,7 +57,7 @@ return static_cast<SkGpuDevice*>(dev); } - GrContext* context() const { return fRenderTarget->getContext(); } + GrContext* context() const { return fContext; } // set all pixels to 0 void clearAll();