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

Unified Diff: include/core/SkTemplates.h

Issue 140823003: Move GrGLExtensions from GrGLContextInfo to GrGLInterface (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Fix Android Created 6 years, 11 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 | include/gpu/gl/GrGLExtensions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkTemplates.h
diff --git a/include/core/SkTemplates.h b/include/core/SkTemplates.h
index 5005713b05a3a84dbb45af8a85002a132444d4db..76254e00ee2ac710b8ad63f260ac82274db99b80 100644
--- a/include/core/SkTemplates.h
+++ b/include/core/SkTemplates.h
@@ -143,6 +143,10 @@ public:
return obj;
}
+ void swap(SkAutoTDelete* that) {
+ SkTSwap(fObj, that->fObj);
+ }
+
private:
T* fObj;
};
« no previous file with comments | « no previous file | include/gpu/gl/GrGLExtensions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698