Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 2917a65

Browse files
authored
[ios] Remove unused is_valid_ from IOS Metal Context (#21432)
1 parent f72613d commit 2917a65

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

shell/platform/darwin/ios/ios_context_metal.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ class IOSContextMetal final : public IOSContext {
3737
sk_sp<GrDirectContext> main_context_;
3838
sk_sp<GrDirectContext> resource_context_;
3939
fml::CFRef<CVMetalTextureCacheRef> texture_cache_;
40-
bool is_valid_ = false;
4140

4241
// |IOSContext|
4342
sk_sp<GrDirectContext> CreateResourceContext() override;

shell/platform/darwin/ios/ios_context_metal.mm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ static GrContextOptions CreateMetalGrContextOptions() {
6565
return;
6666
}
6767
texture_cache_.Reset(texture_cache_raw);
68-
69-
is_valid_ = false;
7068
}
7169

7270
IOSContextMetal::~IOSContextMetal() = default;

0 commit comments

Comments
 (0)