From a7bde78fb648b717f3810eacff66df4252ac29b2 Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Thu, 7 Jul 2022 12:46:04 -0700 Subject: [PATCH] Initialize AndroidEGLSurface::presentation_time_proc_ to null (flutter/engine#34509) --- .../src/flutter/shell/platform/android/android_egl_surface.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/src/flutter/shell/platform/android/android_egl_surface.cc b/engine/src/flutter/shell/platform/android/android_egl_surface.cc index 153cbe5c111..fd0f4567dd5 100644 --- a/engine/src/flutter/shell/platform/android/android_egl_surface.cc +++ b/engine/src/flutter/shell/platform/android/android_egl_surface.cc @@ -190,7 +190,8 @@ AndroidEGLSurface::AndroidEGLSurface(EGLSurface surface, : surface_(surface), display_(display), context_(context), - damage_(std::make_unique()) { + damage_(std::make_unique()), + presentation_time_proc_(nullptr) { damage_->init(display_, context); const char* extensions = eglQueryString(display, EGL_EXTENSIONS);