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

Unified Diff: include/core/SkImage.h

Issue 925853002: Make SkImage::getTexture() const (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 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/image/SkImage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkImage.h
diff --git a/include/core/SkImage.h b/include/core/SkImage.h
index f59042cada0e5c2f07030962aca8fa0df1580094..567bede05d50e0cbcf199187342d98d9ec891e53 100644
--- a/include/core/SkImage.h
+++ b/include/core/SkImage.h
@@ -74,7 +74,7 @@ public:
* does not affect the reference count of the GrTexture object.
* Will return NULL if the image does not use a texture.
*/
- GrTexture* getTexture();
+ GrTexture* getTexture() const;
virtual SkShader* newShader(SkShader::TileMode,
SkShader::TileMode,
« no previous file with comments | « no previous file | src/image/SkImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698