Fixed DSL build when threadlocals are not available

This version of the method was only used when threadlocals are
unavailable, so our normal buildbots didn't catch the name mismatch.

TBR=brianosman@google.com,johnstiles@google.com

Change-Id: I58ed254c8bca62b1aa56ac26ca767d91eb67458c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/439284
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
This commit is contained in:
Ethan Nicholas 2021-08-13 20:52:26 -04:00
parent da44b579f5
commit abe39f5cb9

View File

@ -322,7 +322,7 @@ static pthread_key_t get_pthread_key() {
return sKey;
}
bool DSLWriter::Active() {
bool DSLWriter::IsActive() {
return pthread_getspecific(get_pthread_key()) != nullptr;
}