Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index ba5848b4b11996b40e3fe974f27802b76b85bc81..98da472581bbba469d47668b346e1a47038bac07 100644 |
--- a/src/gpu/SkGpuDevice.cpp |
+++ b/src/gpu/SkGpuDevice.cpp |
@@ -1782,9 +1782,7 @@ |
ASSERT_SINGLE_OWNER |
#ifndef SK_IGNORE_GPU_LAYER_HOISTING |
// todo: should handle this natively |
- if (paint || |
- (kRGBA_8888_SkColorType != mainCanvas->imageInfo().colorType() && |
- kBGRA_8888_SkColorType != mainCanvas->imageInfo().colorType())) { |
+ if (paint) { |
return false; |
} |