Index: src/effects/SkTableColorFilter.cpp |
diff --git a/src/effects/SkTableColorFilter.cpp b/src/effects/SkTableColorFilter.cpp |
index f49043f51232a52b7b9513de7b4e96ba361a8293..3a6c070fab80c0f400613636f6e0f07dd03e28ca 100644 |
--- a/src/effects/SkTableColorFilter.cpp |
+++ b/src/effects/SkTableColorFilter.cpp |
@@ -7,7 +7,6 @@ |
#include "SkTableColorFilter.h" |
-#include "GrContext.h" |
#include "SkBitmap.h" |
#include "SkColorPriv.h" |
#include "SkReadBuffer.h" |
@@ -467,7 +466,7 @@ |
desc.fHeight = 128; |
desc.fRowHeight = bitmap.height(); |
desc.fContext = context; |
- desc.fConfig = SkImageInfo2GrPixelConfig(bitmap.info(), *context->caps()); |
+ desc.fConfig = SkImageInfo2GrPixelConfig(bitmap.info()); |
GrTextureStripAtlas* atlas = GrTextureStripAtlas::GetAtlas(desc); |
int row = atlas->lockRow(bitmap); |
SkAutoTUnref<GrTexture> texture; |