Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index 5e2ff10f63b3185687eeb7d8b920dd640ac01676..7c66fa96fa742d894f8b5b6cd0585ec4a031909c 100644 |
--- a/src/gpu/SkGpuDevice.cpp |
+++ b/src/gpu/SkGpuDevice.cpp |
@@ -352,15 +352,6 @@ SK_COMPILE_ASSERT(SkShader::kLast_BitmapType == 6, shader_type_mismatch); |
/////////////////////////////////////////////////////////////////////////////// |
-#ifdef SK_SUPPORT_LEGACY_DEVICE_CONFIG |
-SkBitmap::Config SkGpuDevice::config() const { |
- if (NULL == fRenderTarget) { |
- return SkBitmap::kNo_Config; |
- } |
- return SkColorTypeToBitmapConfig(fRenderTarget->info().colorType()); |
-} |
-#endif |
- |
void SkGpuDevice::clear(SkColor color) { |
SkIRect rect = SkIRect::MakeWH(this->width(), this->height()); |
fContext->clear(&rect, SkColor2GrColor(color), true, fRenderTarget); |