diff options
Diffstat (limited to 'gm')
-rw-r--r-- | gm/gm.h | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -53,14 +53,7 @@ namespace skiagm { void drawBackground(SkCanvas*); void drawContent(SkCanvas*); - SkISize getISize() { - SkISize size = this->onISize(); - // Sanity cap on GM dimensions. - SkASSERT(size.width() * size.height() <= 2359296 && // 2.25 megapixels - size.width() <= 2048 && // Typical GPU max dimension. - size.height() <= 2048); - return size; - } + SkISize getISize() { return this->onISize(); } const char* getName(); virtual bool runAsBench() const { return false; } |