diff options
author | mtklein <mtklein@chromium.org> | 2015-06-15 12:27:20 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-15 12:27:20 -0700 |
commit | 256cc89c486aaa1f1398b6f99a18814e59a1b7fb (patch) | |
tree | a494d37b56271e4df953ba735a8bd4f4e858f98a /src/core/SkRecords.h | |
parent | 5042020d012cf1472312eecfcca6dcb754d7613e (diff) |
Disable direction pre-caching to suss out TSAN failures.
Our bots don't seem to mind / see the race... let's see if Chrome's do.
BUG=chromium:496982
TBR=reed@google.com
Review URL: https://codereview.chromium.org/1169033003
Diffstat (limited to 'src/core/SkRecords.h')
-rw-r--r-- | src/core/SkRecords.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/SkRecords.h b/src/core/SkRecords.h index 183c64776c..2ce963367a 100644 --- a/src/core/SkRecords.h +++ b/src/core/SkRecords.h @@ -216,8 +216,10 @@ struct PreCachedPath : public SkPath { PreCachedPath() {} explicit PreCachedPath(const SkPath& path) : SkPath(path) { this->updateBoundsCache(); +#if 0 // Disabled to see if we ever really race on this. It costs time, chromium:496982. SkPathPriv::FirstDirection junk; (void)SkPathPriv::CheapComputeFirstDirection(*this, &junk); +#endif } }; |