Chromium Code Reviews| Index: src/core/SkGraphics.cpp |
| diff --git a/src/core/SkGraphics.cpp b/src/core/SkGraphics.cpp |
| index 0273139ad7787fe4920f7d3e9260e42a19b5d595..a2456d808d1e37df0c8a33cec7936b17af3ec2cd 100644 |
| --- a/src/core/SkGraphics.cpp |
| +++ b/src/core/SkGraphics.cpp |
| @@ -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 |