diff --git a/engine/src/flutter/shell/platform/darwin/ios/ios_context_metal.h b/engine/src/flutter/shell/platform/darwin/ios/ios_context_metal.h index 79d177fdc28..f1928528ac3 100644 --- a/engine/src/flutter/shell/platform/darwin/ios/ios_context_metal.h +++ b/engine/src/flutter/shell/platform/darwin/ios/ios_context_metal.h @@ -37,7 +37,6 @@ class IOSContextMetal final : public IOSContext { sk_sp main_context_; sk_sp resource_context_; fml::CFRef texture_cache_; - bool is_valid_ = false; // |IOSContext| sk_sp CreateResourceContext() override; diff --git a/engine/src/flutter/shell/platform/darwin/ios/ios_context_metal.mm b/engine/src/flutter/shell/platform/darwin/ios/ios_context_metal.mm index a41d3d4c093..e951fa54c32 100644 --- a/engine/src/flutter/shell/platform/darwin/ios/ios_context_metal.mm +++ b/engine/src/flutter/shell/platform/darwin/ios/ios_context_metal.mm @@ -65,8 +65,6 @@ IOSContextMetal::IOSContextMetal() { return; } texture_cache_.Reset(texture_cache_raw); - - is_valid_ = false; } IOSContextMetal::~IOSContextMetal() = default;