Commit f2e882f3 authored by Khushal Sagar's avatar Khushal Sagar Committed by Commit Bot

ui/gl: Clear EGL bindings on mac during teardown.

The fact that we initialize EGL bindings in tests but don't clear them
on teardown was making tests unhappy.

R=piman@chromium.org

BUG: 899985
Change-Id: Id5e103974379f1fca18d9ec67768f9fc72f65061
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1566280
Commit-Queue: Khushal <khushalsagar@chromium.org>
Auto-Submit: Khushal <khushalsagar@chromium.org>
Reviewed-by: default avatarAntoine Labour <piman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#650503}
parent ca0ca4cd
...@@ -228,6 +228,9 @@ void InitializeDebugGLBindings() { ...@@ -228,6 +228,9 @@ void InitializeDebugGLBindings() {
void ShutdownGLPlatform() { void ShutdownGLPlatform() {
ClearBindingsGL(); ClearBindingsGL();
#if BUILDFLAG(USE_EGL_ON_MAC)
ClearBindingsEGL();
#endif // BUILDFLAG(USE_EGL_ON_MAC)
} }
} // namespace init } // namespace init
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment