Index: src/core/SkImageFilterUtils.cpp |
diff --git a/src/effects/SkImageFilterUtils.cpp b/src/core/SkImageFilterUtils.cpp |
similarity index 96% |
rename from src/effects/SkImageFilterUtils.cpp |
rename to src/core/SkImageFilterUtils.cpp |
index 2dfb33d73cdd777469767c20a013168954953206..d6e109c1ad32ce83c903a36033337081724a6909 100644 |
--- a/src/effects/SkImageFilterUtils.cpp |
+++ b/src/core/SkImageFilterUtils.cpp |
@@ -15,7 +15,6 @@ |
#include "SkGr.h" |
bool SkImageFilterUtils::WrapTexture(GrTexture* texture, int width, int height, SkBitmap* result) { |
- SkASSERT(texture->config() == kSkia8888_GrPixelConfig); |
result->setConfig(SkBitmap::kARGB_8888_Config, width, height); |
result->setPixelRef(SkNEW_ARGS(SkGrPixelRef, (texture)))->unref(); |
return true; |