| Index: bench/nanobench.cpp
|
| diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp
|
| index 6fe2d626f49aef2de884ef38d8a25741db31d451..8d00ca132f7da475c65140f6715bcf3d53ba18f8 100644
|
| --- a/bench/nanobench.cpp
|
| +++ b/bench/nanobench.cpp
|
| @@ -503,7 +503,7 @@ public:
|
| while (fGMs) {
|
| SkAutoTDelete<skiagm::GM> gm(fGMs->factory()(NULL));
|
| fGMs = fGMs->next();
|
| - if (gm->getFlags() & skiagm::GM::kAsBench_Flag) {
|
| + if (gm->runAsBench()) {
|
| fSourceType = "gm";
|
| fBenchType = "micro";
|
| return SkNEW_ARGS(GMBench, (gm.detach()));
|
|
|