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

Unified Diff: include/core/SkTemplates.h

Issue 1278643006: Make GrBatch carry its own GrPipeline (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more Created 5 years, 4 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/GrBufferedDrawTarget.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 ddf6681a11fd96cf55eca2c07f5c77f66b483149..17dcd596334bbc0f137c22623eae9866faa93af7 100644
--- a/include/core/SkTemplates.h
+++ b/include/core/SkTemplates.h
@@ -549,6 +549,7 @@ public:
* memory. Use placement new for types that require a cons.
*/
void* get() { return fStorage.get(); }
+ const void* get() const { return fStorage.get(); }
private:
SkAlignedSStorage<sizeof(T)*N> fStorage;
};
« no previous file with comments | « no previous file | src/gpu/GrBufferedDrawTarget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698