Fix compile error

This commit is contained in:
Attila Uygun 2023-06-21 14:31:35 +02:00
parent 8a87597911
commit d7e444fa81
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,8 @@ RendererOpenGL::RendererOpenGL(base::Closure context_lost_cb)
: Renderer(context_lost_cb), : Renderer(context_lost_cb),
main_thread_task_runner_(TaskRunner::GetThreadLocalTaskRunner()) {} main_thread_task_runner_(TaskRunner::GetThreadLocalTaskRunner()) {}
#else #else
RendererOpenGL::RendererOpenGL() = default; RendererOpenGL::RendererOpenGL(base::Closure context_lost_cb)
: Renderer(context_lost_cb) {}
#endif // THREADED_RENDERING #endif // THREADED_RENDERING
RendererOpenGL::~RendererOpenGL() { RendererOpenGL::~RendererOpenGL() {