Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: include/gpu/GrDrawContext.h

Issue 1156103006: Unblock DEPS roll by remove SkAutoTUnref from GrDrawContext (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/gpu/GrContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrDrawContext.h
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h
index 1ed99c1891a1a2178de90bc0a2ee662c88f2e78f..4b78c89f918379586266c024cb7dd5398eaab828 100644
--- a/include/gpu/GrDrawContext.h
+++ b/include/gpu/GrDrawContext.h
@@ -226,6 +226,7 @@ private:
friend class GrContext; // for ctor
GrDrawContext(GrContext* context, GrDrawTarget* drawTarget);
+ ~GrDrawContext() override;
// Sets the paint. Returns true on success; false on failure.
bool prepareToDraw(GrPipelineBuilder*,
@@ -245,8 +246,8 @@ private:
const SkPath&,
const GrStrokeInfo&);
- GrContext* fContext; // owning context -> no ref
- SkAutoTUnref<GrDrawTarget> fDrawTarget;
+ GrContext* fContext; // owning context -> no ref
+ GrDrawTarget* fDrawTarget;
};
#endif
« no previous file with comments | « no previous file | src/gpu/GrContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698