| Index: tools/debugger/SkDrawCommand.cpp | 
| diff --git a/tools/debugger/SkDrawCommand.cpp b/tools/debugger/SkDrawCommand.cpp | 
| index e342c4415e60b2f66bc6d641388e09480379b444..2f5a875ac3568cbf94b3a9f70f6857e10938bf5a 100644 | 
| --- a/tools/debugger/SkDrawCommand.cpp | 
| +++ b/tools/debugger/SkDrawCommand.cpp | 
| @@ -769,10 +769,10 @@ static SkBitmap* load_bitmap(const Json::Value& jsonBitmap, UrlDataManager& urlD | 
| const char* ctName = jsonBitmap[SKDEBUGCANVAS_ATTRIBUTE_COLOR].asCString(); | 
| SkColorType ct = colortype_from_name(ctName); | 
| if (ct != kIndex_8_SkColorType) { | 
| -                bitmap.reset(convert_colortype(bitmap.detach(), ct)); | 
| +                bitmap.reset(convert_colortype(bitmap.release(), ct)); | 
| } | 
| } | 
| -        return bitmap.detach(); | 
| +        return bitmap.release(); | 
| } | 
| SkDebugf("image decode failed\n"); | 
| return nullptr; | 
|  |