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:
mtklein 2016-04-21 07:01:19 -07:00 committed by Commit bot
parent 32eaa8993d
commit 8680606029

View File

@ -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