diff --git a/shell/platform/android/android_surface_vulkan.cc b/shell/platform/android/android_surface_vulkan.cc index f040f19d2ccfc..05848f042715c 100644 --- a/shell/platform/android/android_surface_vulkan.cc +++ b/shell/platform/android/android_surface_vulkan.cc @@ -65,7 +65,9 @@ bool AndroidSurfaceVulkan::ResourceContextMakeCurrent() { return false; } +// |shell::AndroidSurface| bool AndroidSurfaceVulkan::ResourceContextClearCurrent() { + FML_DLOG(ERROR) << "The vulkan backend does not support resource contexts."; return false; } diff --git a/shell/platform/android/android_surface_vulkan.h b/shell/platform/android/android_surface_vulkan.h index 79d83b57c63a2..3bec57febc502 100644 --- a/shell/platform/android/android_surface_vulkan.h +++ b/shell/platform/android/android_surface_vulkan.h @@ -35,6 +35,9 @@ class AndroidSurfaceVulkan : public AndroidSurface { // |shell::AndroidSurface| bool ResourceContextMakeCurrent() override; + // |shell::AndroidSurface| + bool ResourceContextClearCurrent() override; + // |shell::AndroidSurface| bool SetNativeWindow(fml::RefPtr window) override;