diff options
Diffstat (limited to 'gm')
-rw-r--r-- | gm/gmmain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp index ec525b1f29..7e828b9245 100644 --- a/gm/gmmain.cpp +++ b/gm/gmmain.cpp @@ -298,7 +298,7 @@ public: SkDebugf( "----- %s max pixel mismatch for %s is %d\n", renderModeDescriptor, name.c_str(), maxErr); - + if (diff) { diff->setConfig(SkBitmap::kARGB_8888_Config, w, h); diff->allocPixels(); @@ -885,7 +885,7 @@ static bool is_recordable_failure(ErrorBitfield errorCode) { struct FailRec { SkString fName; int fMaxPixelError; - + FailRec() : fMaxPixelError(0) {} FailRec(const SkString& name) : fName(name), fMaxPixelError(0) {} }; |