Index: gm/gm.cpp |
diff --git a/gm/gm.cpp b/gm/gm.cpp |
index 57c5c5ded64bfeae76a10bbb56d1d55d83a5c3cc..ff17644fffc09bd2c7fcd0140565ac4eac28e72d 100644 |
--- a/gm/gm.cpp |
+++ b/gm/gm.cpp |
@@ -66,3 +66,15 @@ void GM::drawSizeBounds(SkCanvas* canvas, SkColor color) { |
// need to explicitly declare this, or we get some weird infinite loop llist |
template GMRegistry* GMRegistry::gHead; |
+ |
+void skiagm::SimpleGM::onDraw(SkCanvas* canvas) { |
+ fDrawProc(canvas); |
+} |
+ |
+SkISize skiagm::SimpleGM::onISize() { |
+ return fSize; |
+} |
+ |
+SkString skiagm::SimpleGM::onShortName() { |
+ return fName; |
+} |