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

Unified Diff: src/gpu/GrRenderTarget.cpp

Issue 1413673002: Remove DrawingMgr shims from GrContext (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove abandon, reset & flush from public DrawingMgr API Created 5 years, 2 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
Index: src/gpu/GrRenderTarget.cpp
diff --git a/src/gpu/GrRenderTarget.cpp b/src/gpu/GrRenderTarget.cpp
index ad56cf761fff6e62afc5380d2532d9c82af48708..9b993ceeb44cee58aae6e72030a823df304c3700 100644
--- a/src/gpu/GrRenderTarget.cpp
+++ b/src/gpu/GrRenderTarget.cpp
@@ -23,7 +23,7 @@ void GrRenderTarget::discard() {
return;
}
- SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(this));
+ SkAutoTUnref<GrDrawContext> drawContext(context->drawingMgr().drawContext(this));
if (!drawContext) {
return;
}

Powered by Google App Engine
This is Rietveld 408576698