Index: dm/DMSrcSink.cpp |
diff --git a/dm/DMSrcSink.cpp b/dm/DMSrcSink.cpp |
index c1db17814a9180c25d71ccef95e90b259bea0222..2d2a455e7b7dab047cf7ee93306d664025dc0240 100644 |
--- a/dm/DMSrcSink.cpp |
+++ b/dm/DMSrcSink.cpp |
@@ -856,15 +856,11 @@ |
GrContextFactory::GLContextOptions options, |
int samples, |
bool diText, |
- SkColorType colorType, |
- SkColorProfileType profileType, |
bool threaded) |
: fContextType(ct) |
, fContextOptions(options) |
, fSampleCount(samples) |
, fUseDIText(diText) |
- , fColorType(colorType) |
- , fProfileType(profileType) |
, fThreaded(threaded) {} |
void PreAbandonGpuContextErrorHandler(SkError, void*) {} |
@@ -886,8 +882,7 @@ |
GrContextFactory factory(grOptions); |
const SkISize size = src.size(); |
const SkImageInfo info = |
- SkImageInfo::Make(size.width(), size.height(), fColorType, |
- kPremul_SkAlphaType, fProfileType); |
+ SkImageInfo::Make(size.width(), size.height(), kN32_SkColorType, kPremul_SkAlphaType); |
#if SK_SUPPORT_GPU |
const int maxDimension = factory.getContextInfo(fContextType, fContextOptions). |
fGrContext->caps()->maxTextureSize(); |