Call SkGraphics::Init() automatically for Google3 processes.
This is logically a partial revert of https://codereview.chromium.org/1903503002. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1906813002 Review URL: https://codereview.chromium.org/1906813002
This commit is contained in:
parent
32eaa8993d
commit
8680606029
@ -118,3 +118,8 @@ void SkGraphics::SetFlags(const char* flags) {
|
||||
flags = nextSemi + 1;
|
||||
} while (nextSemi);
|
||||
}
|
||||
|
||||
// Call SkGraphics::Init() automatically for Google3 processes.
|
||||
#if defined(GOOGLE3)
|
||||
static SkAutoGraphics autoGraphics;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user