Chromium Code Reviews| Index: src/image/SkSurface_Raster.cpp |
| diff --git a/src/image/SkSurface_Raster.cpp b/src/image/SkSurface_Raster.cpp |
| index 52300c3bdee38fc20397f50889c22ec15f70b564..d9763c0c9566eedc10f47cb70ca8c12ce9eb5da6 100644 |
| --- a/src/image/SkSurface_Raster.cpp |
| +++ b/src/image/SkSurface_Raster.cpp |
| @@ -57,6 +57,9 @@ bool SkSurface_Raster::Valid(const SkImageInfo& info, size_t rowBytes) { |
| case kN32_SkColorType: |
| shift = 2; |
| break; |
| + case kRGBA_F16_SkColorType: |
| + shift = 3; |
| + break; |
| default: |
| return false; |
| } |