| Index: ui/gl/gl_api_unittest.cc
|
| diff --git a/ui/gl/gl_api_unittest.cc b/ui/gl/gl_api_unittest.cc
|
| index 66c938021c65420b70d00e91049a57ba0b1955e7..a5d1a9c152289dee1fbd5d122f3dd044a2629775 100644
|
| --- a/ui/gl/gl_api_unittest.cc
|
| +++ b/ui/gl/gl_api_unittest.cc
|
| @@ -40,6 +40,7 @@ class GLApiTest : public testing::Test {
|
| num_fake_extension_strings_ = 0;
|
| fake_extension_strings_ = nullptr;
|
|
|
| + DCHECK(!g_current_gl_context_tls);
|
| g_current_gl_context_tls = new base::ThreadLocalPointer<GLApi>;
|
|
|
| SetGLGetProcAddressProc(
|
| @@ -53,6 +54,7 @@ class GLApiTest : public testing::Test {
|
| void TearDown() override {
|
| api_.reset(nullptr);
|
| delete g_current_gl_context_tls;
|
| + g_current_gl_context_tls = nullptr;
|
|
|
| SetGLImplementation(kGLImplementationNone);
|
| fake_extension_string_ = "";
|
|
|