commit | 860fc696d7020e59904f15a7d89b596a135bade8 | [log] [tgz] |
---|---|---|
author | joshualitt <joshualitt@chromium.org> | Thu Feb 11 06:53:36 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Thu Feb 11 06:53:36 2016 -0800 |
tree | ea36691c04b2d4b4011c53cd68efae02c44c8adb | |
parent | 1b39f439413c52eb5b172834775104a89eb229aa [diff] |
fix for gpu valgrind bot TBR=egdaniel@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1689823004 Review URL: https://codereview.chromium.org/1689823004
diff --git a/tools/ThermalManager.cpp b/tools/ThermalManager.cpp index 7a3911d..36f7468 100644 --- a/tools/ThermalManager.cpp +++ b/tools/ThermalManager.cpp
@@ -94,9 +94,9 @@ fullPath.appendf("/%s", pointName.c_str()); fPoint = OpenFileAndReadInt32(fullPath.c_str()); fBase = GetTemp(fThermalZoneRoot); + fThreshold = threshold; fDisabled = fBase >= fPoint + fThreshold; // We disable any trip point which start off // triggered - fThreshold = threshold; if (!fDisabled) { SkDebugf("Trip point %s base - %d trip point-%d\n", fullPath.c_str(), fBase, fPoint);