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

Unified Diff: src/gpu/SkGrPriv.h

Issue 2367813002: Make GrRenderableConfigForColorSpace argument const (Closed)
Patch Set: Created 4 years, 3 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 | « src/gpu/SkGr.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/SkGrPriv.h
diff --git a/src/gpu/SkGrPriv.h b/src/gpu/SkGrPriv.h
index c1069d1a207d19ea934e8622442b54e63c8edf27..b658389ba2b122500b3e4141cf8d865d99150895 100644
--- a/src/gpu/SkGrPriv.h
+++ b/src/gpu/SkGrPriv.h
@@ -108,7 +108,7 @@ bool GrPixelConfigToColorType(GrPixelConfig, SkColorType*);
/** When image filter code needs to construct a draw context to do intermediate rendering, we need
a renderable pixel config. The source (SkSpecialImage) may not be in a renderable format, but
we want to preserve the color space of that source. This picks an appropriate format to use. */
-GrPixelConfig GrRenderableConfigForColorSpace(SkColorSpace*);
+GrPixelConfig GrRenderableConfigForColorSpace(const SkColorSpace*);
/**
* If the compressed data in the SkData is supported (as a texture format, this returns
« no previous file with comments | « src/gpu/SkGr.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698