commit | 8f0238837ee48947b0428c1a2e7947c6fc6def2f | [log] [tgz] |
---|---|---|
author | Leandro Lovisolo <lovisolo@google.com> | Tue Aug 15 21:13:52 2023 +0000 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Wed Aug 16 01:45:12 2023 +0000 |
tree | f880a95022d1ec8d35d58dcbfcf1ad84d284485a | |
parent | 3d2b84e28e79582bfb630faf4e4cada19826df97 [diff] |
//gm/gm.h: Fold GM::onISize() into GM::getISize(). Inspired by https://skia-review.googlesource.com/c/skia/+/742738, this CL aims to simplify GMs by removing the GM::getISize() -> GM::onISize() indirection, which at the moment isn't providing any value. Unlike the aforementioned CL, I'm leaving GM::getISize() as non-const because some GMs perform non-const initialization steps. Most changes in the CL are the result of a multifile search/replace and clang-format. Suggested review order: - //gm/gm.h - //gm/gm.cpp - Everything else. Bug: b/40045301 Change-Id: Ib51e1034209fda55cd3e1d2cf9617a4b19f27207 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/742740 Auto-Submit: Leandro Lovisolo <lovisolo@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Leandro Lovisolo <lovisolo@google.com>