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

Unified Diff: src/gpu/GrContext.cpp

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 | « include/gpu/GrDrawContext.h ('k') | src/gpu/GrDrawContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrContext.cpp
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
index 550d7ff7c19a4f4c7d9a65cb66c1abe1250c7f03..a9beabb537cdf2613f1d3d5f808b1e86e3ef94e6 100755
--- a/src/gpu/GrContext.cpp
+++ b/src/gpu/GrContext.cpp
@@ -78,7 +78,7 @@ GrContext::DrawingMgr::~DrawingMgr() {
void GrContext::DrawingMgr::abandon() {
SkSafeSetNull(fDrawTarget);
- fDrawContext->fDrawTarget.reset(NULL);
+ SkSafeSetNull(fDrawContext->fDrawTarget);
SkSafeSetNull(fDrawContext);
}
« no previous file with comments | « include/gpu/GrDrawContext.h ('k') | src/gpu/GrDrawContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698