mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Make AndroidContext::IsValid virtual (flutter/engine#22665)
Fixes https://github.com/flutter/flutter/issues/70938
This commit is contained in:
parent
e76e35f677
commit
ec51a006fe
@ -103,7 +103,7 @@ class AndroidContextGL : public AndroidContext {
|
||||
/// @return Whether the current context is valid. That is, if the EGL
|
||||
/// contexts were successfully created.
|
||||
///
|
||||
bool IsValid() const;
|
||||
bool IsValid() const override;
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
/// @return Whether the current context was successfully clear.
|
||||
|
||||
@ -26,7 +26,7 @@ class AndroidContext {
|
||||
|
||||
AndroidRenderingAPI RenderingApi() const;
|
||||
|
||||
bool IsValid() const;
|
||||
virtual bool IsValid() const;
|
||||
|
||||
private:
|
||||
const AndroidRenderingAPI rendering_api_;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user