aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/skia_test.cpp
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@google.com>2016-10-04 10:59:29 -0400
committerGravatar Cary Clark <caryclark@google.com>2016-10-04 15:00:10 +0000
commita35c68d52ad2694ef6f620a166baf93d4ef45b5b (patch)
tree7c65c7f5da19ab8c290d835d24620c621b9c217c /tests/skia_test.cpp
parent418aa61fea14865c347641acd64df756adaf6e01 (diff)
fix initialization order
Broke the linux build with incorrectly ordered construction initialization. TBR=reed@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2926 Change-Id: I2555616b945021cf119122811db0cfaf999834a0 Reviewed-on: https://skia-review.googlesource.com/2926 Reviewed-by: Cary Clark <caryclark@google.com>
Diffstat (limited to 'tests/skia_test.cpp')
-rw-r--r--tests/skia_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/skia_test.cpp b/tests/skia_test.cpp
index 6f02b0b262..a1c3c23781 100644
--- a/tests/skia_test.cpp
+++ b/tests/skia_test.cpp
@@ -86,7 +86,7 @@ public:
void operator()() {
struct TestReporter : public skiatest::Reporter {
public:
- TestReporter() : fError(false), fTestCount(0), fStats(nullptr) {}
+ TestReporter() : fStats(nullptr), fError(false), fTestCount(0) {}
void bumpTestCount() override { ++fTestCount; }
bool allowExtendedTest() const override {
return FLAGS_extendedTest;