diff --git a/shell/platform/darwin/ios/ios_context_metal.h b/shell/platform/darwin/ios/ios_context_metal.h index 79d177fdc284a..f1928528ac390 100644 --- a/shell/platform/darwin/ios/ios_context_metal.h +++ b/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/shell/platform/darwin/ios/ios_context_metal.mm b/shell/platform/darwin/ios/ios_context_metal.mm index a41d3d4c093de..e951fa54c3234 100644 --- a/shell/platform/darwin/ios/ios_context_metal.mm +++ b/shell/platform/darwin/ios/ios_context_metal.mm @@ -65,8 +65,6 @@ static GrContextOptions CreateMetalGrContextOptions() { return; } texture_cache_.Reset(texture_cache_raw); - - is_valid_ = false; } IOSContextMetal::~IOSContextMetal() = default;