1 // Copyright 2020 Google LLC. 2 // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. 3 #include "tools/fiddle/examples.h" 4 REG_FIDDLE(makeRasterImage_fail, 256, 256, false, 5) { draw(SkCanvas * canvas)5void draw(SkCanvas* canvas) { canvas->drawImage(image->makeRasterImage(), 0, 0); } 6 } // END FIDDLE 7