Try again to use a C++11 feature in DM as a canary.
authormtklein <mtklein@chromium.org>
Thu, 5 Feb 2015 17:53:44 +0000 (09:53 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 5 Feb 2015 17:53:44 +0000 (09:53 -0800)
CQ_EXTRA_TRYBOTS=client.skia.compile:Build-Ubuntu13.10-GCC4.8-NaCl-Release-Trybot,Build-Mac10.7-Clang-Arm7-Debug-iOS-Trybot

BUG=skia:

Review URL: https://codereview.chromium.org/898863003

dm/DM.cpp

index 3efc5c1..3af7dbe 100644 (file)
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -55,7 +55,7 @@ static void done(double ms,
     if (!log.isEmpty()) {
         log.prepend("\n");
     }
-    int32_t pending = sk_atomic_dec(&gPending)-1;
+    auto pending = sk_atomic_dec(&gPending)-1;
     SkDebugf("%s(%4dMB %5d) %s\t%s %s %s%s", FLAGS_verbose ? "\n" : kSkOverwriteLine
                                            , sk_tools::getMaxResidentSetSizeMB()
                                            , pending