Index: ui/gl/gl_api_unittest.cc |
diff --git a/ui/gl/gl_api_unittest.cc b/ui/gl/gl_api_unittest.cc |
index a5d1a9c152289dee1fbd5d122f3dd044a2629775..66c938021c65420b70d00e91049a57ba0b1955e7 100644 |
--- a/ui/gl/gl_api_unittest.cc |
+++ b/ui/gl/gl_api_unittest.cc |
@@ -40,7 +40,6 @@ |
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( |
@@ -54,7 +53,6 @@ |
void TearDown() override { |
api_.reset(nullptr); |
delete g_current_gl_context_tls; |
- g_current_gl_context_tls = nullptr; |
SetGLImplementation(kGLImplementationNone); |
fake_extension_string_ = ""; |