Index: gm/gm.h |
diff --git a/gm/gm.h b/gm/gm.h |
index 0de9875896f838e6b488db6ba13abf84a17ed948..b474729366adcb505409c0f76f977308add8b4a2 100644 |
--- a/gm/gm.h |
+++ b/gm/gm.h |
@@ -53,14 +53,7 @@ |
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; } |